summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/builtin_types.cpp
diff options
context:
space:
mode:
authorIlia Mirkin <imirkin@alum.mit.edu>2016-08-27 18:02:48 -0400
committerIlia Mirkin <imirkin@alum.mit.edu>2016-08-28 21:38:55 -0400
commitd49a231c330df1ed596137bdd2a3d69fcc99d48e (patch)
tree388d1663e1546a111f2f64f7595efaa5a779f140 /src/compiler/glsl/builtin_types.cpp
parent4ec1c2bb7f4ed4238ce80e25f93dd1120201aaec (diff)
downloadexternal_mesa3d-d49a231c330df1ed596137bdd2a3d69fcc99d48e.zip
external_mesa3d-d49a231c330df1ed596137bdd2a3d69fcc99d48e.tar.gz
external_mesa3d-d49a231c330df1ed596137bdd2a3d69fcc99d48e.tar.bz2
mesa: add EXT_texture_cube_map_array support
This is identical to OES_texture_cube_map_array support. dEQP has tests which use this extension. Also it is part of AEP. Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Diffstat (limited to 'src/compiler/glsl/builtin_types.cpp')
-rw-r--r--src/compiler/glsl/builtin_types.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/builtin_types.cpp b/src/compiler/glsl/builtin_types.cpp
index d40f785..000f811 100644
--- a/src/compiler/glsl/builtin_types.cpp
+++ b/src/compiler/glsl/builtin_types.cpp
@@ -299,6 +299,7 @@ _mesa_glsl_initialize_types(struct _mesa_glsl_parse_state *state)
* is harmless.
*/
if (state->ARB_texture_cube_map_array_enable ||
+ state->EXT_texture_cube_map_array_enable ||
state->OES_texture_cube_map_array_enable) {
add_type(symbols, glsl_type::samplerCubeArray_type);
add_type(symbols, glsl_type::samplerCubeArrayShadow_type);
@@ -339,6 +340,7 @@ _mesa_glsl_initialize_types(struct _mesa_glsl_parse_state *state)
}
if (state->ARB_shader_image_load_store_enable ||
+ state->EXT_texture_cube_map_array_enable ||
state->OES_texture_cube_map_array_enable) {
add_type(symbols, glsl_type::imageCubeArray_type);
add_type(symbols, glsl_type::iimageCubeArray_type);