main/get_hash_params: Add GL_SAMPLE_SHADING_ARB
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Jul 2014 01:30:55 +0000 (18:30 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Tue, 29 Jul 2014 17:50:38 +0000 (10:50 -0700)
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@intel.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: mesa-stable@lists.freedesktop.org
src/mesa/main/get_hash_params.py

index 35d6172a3a5da194af966b6026fee2677f449c6e..ff858207b873026c5753733a80a3358a06d4aeca 100644 (file)
@@ -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