diff options
author | Ian Romanick <[email protected]> | 2013-09-09 16:54:11 -0500 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2013-09-19 16:29:43 -0500 |
commit | d38765f3c8fbd473b949177cc9698b2cd459902c (patch) | |
tree | 6f5521173d795585e75dfc498588e9fc2c372b52 /src/mesa/main | |
parent | b6b549ccfc6f71f94ba58892b0506ca5cd7b4a7c (diff) |
mesa: Support GL_MAX_VERTEX_OUTPUT_COMPONENTS query with ES3
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Paul Berry <[email protected]>
Cc: "9.1 9.2" <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/get.c | 1 | ||||
-rw-r--r-- | src/mesa/main/get_hash_params.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index 4f6f59ae6bb..e7c24c71eb2 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -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; diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 30855c37bd7..ca312ee9748 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -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 |