mesa: Support GL_MAX_VERTEX_OUTPUT_COMPONENTS query with ES3
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Sep 2013 21:54:11 +0000 (16:54 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 19 Sep 2013 21:29:43 +0000 (16:29 -0500)
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
Cc: "9.1 9.2" <mesa-stable@lists.freedesktop.org>
src/mesa/main/get.c
src/mesa/main/get_hash_params.py

index 4f6f59ae6bb83caad7b09e9c5170c1fee47de205..e7c24c71eb22383434ebc4f35a800cbe7f356d57 100644 (file)
@@ -714,6 +714,7 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu
 
    case GL_MAX_VARYING_FLOATS_ARB:
    case GL_MAX_FRAGMENT_INPUT_COMPONENTS:
+   case GL_MAX_VERTEX_OUTPUT_COMPONENTS:
       v->value_int = ctx->Const.MaxVarying * 4;
       break;
 
index 30855c37bd72dab6596e1ef98d5c006bc72b5f2b..ca312ee9748f29c7beb58343da0c4273bd1451b8 100644 (file)
@@ -330,6 +330,7 @@ descriptor=[
   [ "MINOR_VERSION", "LOC_CUSTOM, TYPE_INT, 0, extra_gl30_es3" ],
 
   # GL 3.0 / GLES3
+  [ "MAX_VERTEX_OUTPUT_COMPONENTS", "LOC_CUSTOM, TYPE_INT, 0, extra_gl32_es3" ],
   [ "MAX_FRAGMENT_INPUT_COMPONENTS", "LOC_CUSTOM, TYPE_INT, 0, extra_gl32_es3" ],
 
 # GL_ARB_ES3_compatibility