mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 01:20:17 +01:00
mesa: Enable enums for OES_viewport_array
Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com> Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
This commit is contained in:
parent
2c7e1165fa
commit
0a7691ee62
2 changed files with 10 additions and 4 deletions
|
|
@ -405,6 +405,12 @@ static const int extra_ARB_viewport_array_or_oes_geometry_shader[] = {
|
|||
EXTRA_END
|
||||
};
|
||||
|
||||
static const int extra_ARB_viewport_array_or_oes_viewport_array[] = {
|
||||
EXT(ARB_viewport_array),
|
||||
EXT(OES_viewport_array),
|
||||
EXTRA_END
|
||||
};
|
||||
|
||||
static const int extra_ARB_gpu_shader5_or_oes_geometry_shader[] = {
|
||||
EXT(ARB_gpu_shader5),
|
||||
EXTRA_EXT_ES_GS,
|
||||
|
|
|
|||
|
|
@ -615,10 +615,10 @@ descriptor=[
|
|||
[ "PRIMITIVE_BOUNDING_BOX_ARB", "CONTEXT_FLOAT8(PrimitiveBoundingBox), extra_OES_primitive_bounding_box" ],
|
||||
|
||||
# GL_ARB_viewport_array / GL_OES_viewport_array
|
||||
[ "MAX_VIEWPORTS", "CONTEXT_INT(Const.MaxViewports), extra_ARB_viewport_array" ],
|
||||
[ "VIEWPORT_SUBPIXEL_BITS", "CONTEXT_INT(Const.ViewportSubpixelBits), extra_ARB_viewport_array" ],
|
||||
[ "VIEWPORT_BOUNDS_RANGE", "CONTEXT_FLOAT2(Const.ViewportBounds), extra_ARB_viewport_array" ],
|
||||
[ "VIEWPORT_INDEX_PROVOKING_VERTEX", "CONTEXT_ENUM(Const.LayerAndVPIndexProvokingVertex), extra_ARB_viewport_array" ],
|
||||
[ "MAX_VIEWPORTS", "CONTEXT_INT(Const.MaxViewports), extra_ARB_viewport_array_or_oes_viewport_array" ],
|
||||
[ "VIEWPORT_SUBPIXEL_BITS", "CONTEXT_INT(Const.ViewportSubpixelBits), extra_ARB_viewport_array_or_oes_viewport_array" ],
|
||||
[ "VIEWPORT_BOUNDS_RANGE", "CONTEXT_FLOAT2(Const.ViewportBounds), extra_ARB_viewport_array_or_oes_viewport_array" ],
|
||||
[ "VIEWPORT_INDEX_PROVOKING_VERTEX", "CONTEXT_ENUM(Const.LayerAndVPIndexProvokingVertex), extra_ARB_viewport_array_or_oes_viewport_array" ],
|
||||
]},
|
||||
|
||||
{ "apis": ["GL_CORE", "GLES32"], "params": [
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue