[Piglit] [PATCH] framework/wflinfo: use x11_egl for gles with mixed_glx_egl
Eric Engestrom
eric.engestrom at intel.com
Fri Oct 5 15:22:38 UTC 2018
On Thursday, 2018-10-04 11:28:22 -0700, Dylan Baker wrote:
> Because wflinfo returns GL legacy (non-profile) for gles on glx.
> ---
> framework/wflinfo.py | 8 +++++++-
> 1 file changed, 7 insertions(+), 1 deletion(-)
>
> diff --git a/framework/wflinfo.py b/framework/wflinfo.py
> index a568bc344..eb75e8514 100644
> --- a/framework/wflinfo.py
> +++ b/framework/wflinfo.py
> @@ -103,7 +103,13 @@ class WflInfo(object):
> # to something that wflinfo understands.
> platform = OPTIONS.env['PIGLIT_PLATFORM']
> if platform == "mixed_glx_egl":
> - platform = "glx"
> + if 'gles2' in opts or 'gles3'in opts:
Missing space ~~~~~~~^
> + platform = "x11_egl"
> + else:
> + platform = "glx"
> + if platform == 'glx' and 'gles2' in opts or 'gles3' in opts:
> + # There is a wflinfo bug, which makes
Unfinished sentence?
> + raise StopWflinfo('Called')
>
> if sys.platform in ['windows', 'cygwin']:
> bin = 'wflinfo.exe'
> --
> 2.19.0
>
> _______________________________________________
> Piglit mailing list
> Piglit at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/piglit
More information about the Piglit
mailing list