Mesa (master): main/get_hash_params: Add GL_SAMPLE_SHADING_ARB

Jason Ekstrand jekstrand at kemper.freedesktop.org
Tue Jul 29 17:51:20 UTC 2014


Module: Mesa
Branch: master
Commit: 3ea922dd7ca773033a09068e397b34d8abd4c763
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3ea922dd7ca773033a09068e397b34d8abd4c763

Author: Jason Ekstrand <jason.ekstrand at intel.com>
Date:   Mon Jul 28 18:30:55 2014 -0700

main/get_hash_params: Add GL_SAMPLE_SHADING_ARB

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>
Reviewed-by: Matt Turner <mattst88 at gmail.com>
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
Cc: mesa-stable at lists.freedesktop.org

---

 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 35d6172..ff85820 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




More information about the mesa-commit mailing list