[Mesa-dev] [PATCH 1/3] mesa: enable query of PROGRAM_PIPELINE_BINDING for ES 3.1

Lofstedt, Marta marta.lofstedt at intel.com
Fri Sep 11 00:21:30 PDT 2015


Reviewed-by: Marta Lofstedt <marta.lofstedt at intel.com>

> -----Original Message-----
> From: mesa-dev [mailto:mesa-dev-bounces at lists.freedesktop.org] On
> Behalf Of Tapani Pälli
> Sent: Tuesday, September 1, 2015 12:54 PM
> To: mesa-dev at lists.freedesktop.org
> Cc: Romanick, Ian D
> Subject: [Mesa-dev] [PATCH 1/3] mesa: enable query of
> PROGRAM_PIPELINE_BINDING for ES 3.1
> 
> Specified in OpenGL ES 3.1 spec, Table 23.32: Program Object State.
> 
> Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
> ---
>  src/mesa/main/get_hash_params.py | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/mesa/main/get_hash_params.py
> b/src/mesa/main/get_hash_params.py
> index dc5ba6f..e2e3d0d 100644
> --- a/src/mesa/main/get_hash_params.py
> +++ b/src/mesa/main/get_hash_params.py
> @@ -458,6 +458,9 @@ descriptor=[
> 
>  # GL_ARB_explicit_uniform_location / GLES 3.1
>    [ "MAX_UNIFORM_LOCATIONS",
> "CONTEXT_INT(Const.MaxUserAssignableUniformLocations),
> extra_ARB_explicit_uniform_location" ],
> +
> +# GL_ARB_separate_shader_objects / GLES 3.1
> +  [ "PROGRAM_PIPELINE_BINDING", "LOC_CUSTOM, TYPE_INT,
> +GL_PROGRAM_PIPELINE_BINDING, NO_EXTRA" ],
>  ]},
> 
>  # Enums in OpenGL Core profile and ES 3.1 @@ -799,9 +802,6 @@
> descriptor=[  # GL_ARB_texture_gather
>    [ "MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB",
> "CONTEXT_INT(Const.MaxProgramTextureGatherComponents),
> extra_ARB_texture_gather"],
> 
> -# GL_ARB_separate_shader_objects
> -  [ "PROGRAM_PIPELINE_BINDING", "LOC_CUSTOM, TYPE_INT,
> GL_PROGRAM_PIPELINE_BINDING, NO_EXTRA" ],
> -
>  # GL_ARB_shader_atomic_counters
>    [ "MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS",
> "CONTEXT_INT(Const.Program[MESA_SHADER_GEOMETRY].MaxAtomicBuff
> ers), extra_ARB_shader_atomic_counters_and_geometry_shader" ],
>    [ "MAX_GEOMETRY_ATOMIC_COUNTERS",
> "CONTEXT_INT(Const.Program[MESA_SHADER_GEOMETRY].MaxAtomicCou
> nters), extra_ARB_shader_atomic_counters_and_geometry_shader" ],
> --
> 2.4.3
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list