diff options
author | Dave Airlie <airlied@gmail.com> | 2012-11-03 20:43:17 +1000 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2012-11-09 10:26:33 +1000 |
commit | 4c8750015b23207de0b44f39bd33bb556268b51d (patch) | |
tree | 202b207646da88a745b46ebaf15ae0cc378da180 /src/glsl/glsl_types.h | |
parent | 2c52c0e1cec60003c03b6f6a61ead0c12b5ece25 (diff) | |
download | external_mesa3d-4c8750015b23207de0b44f39bd33bb556268b51d.zip external_mesa3d-4c8750015b23207de0b44f39bd33bb556268b51d.tar.gz external_mesa3d-4c8750015b23207de0b44f39bd33bb556268b51d.tar.bz2 |
glsl: add ARB_texture_cube_map_array support (v2)
This adds all the new builtins + the new sampler types,
and hooks them up if the extension is supported.
v2: fix missing signatures for grad/lod
fix missing textureSize clarifications
fix compare vs starts with usage
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'src/glsl/glsl_types.h')
-rw-r--r-- | src/glsl/glsl_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/glsl_types.h b/src/glsl/glsl_types.h index 915d1a2..cf954a2 100644 --- a/src/glsl/glsl_types.h +++ b/src/glsl/glsl_types.h @@ -521,6 +521,7 @@ private: static const glsl_type builtin_EXT_texture_array_types[]; static const glsl_type builtin_EXT_texture_buffer_object_types[]; static const glsl_type builtin_OES_EGL_image_external_types[]; + static const glsl_type builtin_ARB_texture_cube_map_array_types[]; /*@}*/ /** @@ -541,6 +542,7 @@ private: static void generate_EXT_texture_array_types(glsl_symbol_table *, bool); static void generate_OES_texture_3D_types(glsl_symbol_table *, bool); static void generate_OES_EGL_image_external_types(glsl_symbol_table *, bool); + static void generate_ARB_texture_cube_map_array_types(glsl_symbol_table *, bool); /*@}*/ /** |