mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2025-02-19 17:41:50 +00:00
mesa: Support GL_MAX_VERTEX_OUTPUT_COMPONENTS query with ES3
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>
This commit is contained in:
parent
b6b549ccfc
commit
d38765f3c8
@ -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;
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user