From: Dave Airlie Date: Sat, 3 Nov 2012 10:41:55 +0000 (+1000) Subject: mesa: add get support for TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2c52c0e1cec60003c03b6f6a61ead0c12b5ece25;p=mesa.git mesa: add get support for TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB Reviewed-by: Brian Paul Reviewed-by: Kenneth Graunke Signed-off-by: Dave Airlie --- diff --git a/src/mesa/main/get.c b/src/mesa/main/get.c index afae089321b..39709b80894 100644 --- a/src/mesa/main/get.c +++ b/src/mesa/main/get.c @@ -335,6 +335,7 @@ EXTRA_EXT(ARB_blend_func_extended); EXTRA_EXT(ARB_uniform_buffer_object); EXTRA_EXT(ARB_timer_query); EXTRA_EXT(ARB_map_buffer_alignment); +EXTRA_EXT(ARB_texture_cube_map_array); static const int extra_NV_primitive_restart[] = { @@ -667,6 +668,7 @@ find_custom_value(struct gl_context *ctx, const struct value_desc *d, union valu case GL_TEXTURE_BINDING_CUBE_MAP_ARB: case GL_TEXTURE_BINDING_RECTANGLE_NV: case GL_TEXTURE_BINDING_EXTERNAL_OES: + case GL_TEXTURE_BINDING_CUBE_MAP_ARRAY: unit = ctx->Texture.CurrentUnit; v->value_int = ctx->Texture.Unit[unit].CurrentTex[d->offset]->Name; diff --git a/src/mesa/main/get_hash_params.py b/src/mesa/main/get_hash_params.py index 376df09ee1f..ac9c79ceaff 100644 --- a/src/mesa/main/get_hash_params.py +++ b/src/mesa/main/get_hash_params.py @@ -688,6 +688,9 @@ descriptor=[ # GL_ARB_map_buffer_alignment [ "MIN_MAP_BUFFER_ALIGNMENT", "CONTEXT_INT(Const.MinMapBufferAlignment), extra_ARB_map_buffer_alignment" ], + +# GL_ARB_texture_cube_map_array + [ "TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB", "LOC_CUSTOM, TYPE_INT, TEXTURE_CUBE_ARRAY_INDEX, extra_ARB_texture_cube_map_array" ], ]} ]