Mesa (master): mesa: Allow glGet* queries on EXT_texture_lod_bias data in ES 3

Matt Turner mattst88 at kemper.freedesktop.org
Thu Jan 10 19:00:28 UTC 2013


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

Author: Matt Turner <mattst88 at gmail.com>
Date:   Sat Dec  8 17:10:50 2012 -0800

mesa: Allow glGet* queries on EXT_texture_lod_bias data in ES 3

Fixes the remaining 4 texture_lod_bias failures in es3conform.

Reviewed-by: Ian Romanick <ian.d.romanick at intel.com>

---

 src/mesa/main/get_hash_params.py |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py
index 055a073..650fb38 100644
--- a/src/mesa/main/get_hash_params.py
+++ b/src/mesa/main/get_hash_params.py
@@ -234,9 +234,6 @@ descriptor=[
 
 # GL_ARB_vertex_shader
   [ "MAX_VARYING_FLOATS_ARB", "LOC_CUSTOM, TYPE_INT, 0, extra_ARB_vertex_shader" ],
-
-# GL_EXT_texture_lod_bias
-  [ "MAX_TEXTURE_LOD_BIAS_EXT", "CONTEXT_FLOAT(Const.MaxTextureLodBias), NO_EXTRA" ],
 ]},
 
 
@@ -315,6 +312,13 @@ descriptor=[
   [ "READ_BUFFER", "LOC_CUSTOM, TYPE_ENUM, NO_OFFSET, extra_NV_read_buffer_api_gl" ],
 ]},
 
+# GLES3 is not a typo.
+{ "apis": ["GL", "GLES", "GLES3", "GL_CORE"], "params": [
+# GL_EXT_texture_lod_bias
+  [ "MAX_TEXTURE_LOD_BIAS_EXT", "CONTEXT_FLOAT(Const.MaxTextureLodBias), NO_EXTRA" ],
+]},
+
+
 # Enums in  OpenGL and ES 3.0
 { "apis": ["GL", "GL_CORE", "GLES3"], "params": [
 # GL_ARB_fragment_shader




More information about the mesa-commit mailing list