[Mesa-dev] [PATCH] main/get_hash_params: Add GL_SAMPLE_SHADING_ARB

Kenneth Graunke kenneth at whitecape.org
Tue Jul 29 10:19:29 PDT 2014


On Monday, July 28, 2014 06:32:47 PM Jason Ekstrand wrote:
> GL_SAMPLE_SHADING is specified as a valid pname for glGet in the
> GL_ARB_sample_shading extension.  It seems as if we forgot to add it to the
> table of pnames.
> 
> Signed-off-by: Jason Ekstrand <jason.ekstrand at intel.com>
> ---
>  src/mesa/main/get_hash_params.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
> index d45962d..28f1836 100644
> --- a/src/mesa/main/get_hash_params.py
> +++ b/src/mesa/main/get_hash_params.py
> @@ -84,6 +84,7 @@ descriptor=[
>    [ "SAMPLES_ARB", "BUFFER_INT(Visual.samples), extra_new_buffers" ],
>  
>  # GL_ARB_sample_shading
> +  [ "SAMPLE_SHADING_ARB", "CONTEXT_BOOL(Multisample.SampleShading), extra_gl40_ARB_sample_shading" ],
>    [ "MIN_SAMPLE_SHADING_VALUE_ARB", "CONTEXT_FLOAT(Multisample.MinSampleShadingValue), extra_gl40_ARB_sample_shading" ],
>  
>  # GL_SGIS_generate_mipmap
> 

Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: mesa-stable at lists.freedesktop.org

(just put that Cc line in your commit message, and it'll get nominated for the stable branch)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140729/d7ad44bb/attachment.sig>


More information about the mesa-dev mailing list