[Mesa-dev] [PATCH] mesa/get: return correct value for layer provoking vertex.

Chris Forbes chrisf at ijw.co.nz
Fri Jun 3 02:30:23 UTC 2016


Reviewed-by: Chris Forbes <chrisforbes at google.com>

On Fri, Jun 3, 2016 at 2:27 PM, Dave Airlie <airlied at gmail.com> wrote:

> From: Dave Airlie <airlied at redhat.com>
>
> This fixes:
> GL45-CTS.geometry_shader.layered_rendering.layered_rendering
>
> on Skylake.
>
> Signed-off-by: Dave Airlie <airlied at redhat.com>
> ---
>  src/mesa/main/get_hash_params.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/main/get_hash_params.py
> b/src/mesa/main/get_hash_params.py
> index 2124072..bfcbfd6 100644
> --- a/src/mesa/main/get_hash_params.py
> +++ b/src/mesa/main/get_hash_params.py
> @@ -542,7 +542,7 @@ descriptor=[
>    [ "MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS",
> "CONTEXT_INT(Const.Program[MESA_SHADER_GEOMETRY].MaxCombinedUniformComponents),
> extra_ARB_uniform_buffer_object_and_geometry_shader" ],
>
>  # GL_ARB_viewport_array / GL_OES_geometry_shader
> -  [ "LAYER_PROVOKING_VERTEX", "CONTEXT_ENUM(Light.ProvokingVertex),
> extra_ARB_viewport_array_or_oes_geometry_shader" ],
> +  [ "LAYER_PROVOKING_VERTEX",
> "CONTEXT_ENUM(Const.LayerAndVPIndexProvokingVertex),
> extra_ARB_viewport_array_or_oes_geometry_shader" ],
>
>  # GL_ARB_gpu_shader5 / GL_OES_geometry_shader
>    [ "MAX_GEOMETRY_SHADER_INVOCATIONS",
> "CONST(MAX_GEOMETRY_SHADER_INVOCATIONS),
> extra_ARB_gpu_shader5_or_oes_geometry_shader" ],
> --
> 2.5.5
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20160603/49352f81/attachment.html>


More information about the mesa-dev mailing list