diff options
author | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-08 16:17:17 -0700 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2010-06-09 11:14:58 -0700 |
commit | 0d80f71867e561c541bf8832a182401297972543 (patch) | |
tree | c80b0c24092777a7f9132daae70a0aaac706e822 /builtin_types.h | |
parent | cc249f79e7df5fa45b119e57cdc9a4887add712b (diff) |
Add EXT_texture_array support.
Diffstat (limited to 'builtin_types.h')
-rw-r--r-- | builtin_types.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/builtin_types.h b/builtin_types.h index 41ce5d2189..48202f5645 100644 --- a/builtin_types.h +++ b/builtin_types.h @@ -244,6 +244,18 @@ static const struct glsl_type builtin_ARB_texture_rectangle_types[] = { }; /*@}*/ +/** \name Sampler types added by GL_EXT_texture_array + */ +/*@{*/ + +static const struct glsl_type builtin_EXT_texture_array_types[] = { + glsl_type( GLSL_SAMPLER_DIM_1D, 0, 1, GLSL_TYPE_FLOAT, "sampler1DArray"), + glsl_type( GLSL_SAMPLER_DIM_2D, 0, 1, GLSL_TYPE_FLOAT, "sampler2DArray"), + glsl_type( GLSL_SAMPLER_DIM_1D, 1, 1, GLSL_TYPE_FLOAT, "sampler1DArrayShadow"), + glsl_type( GLSL_SAMPLER_DIM_2D, 1, 1, GLSL_TYPE_FLOAT, "sampler2DArrayShadow"), +}; +/*@}*/ + /** \name Sampler types added by GL_EXT_texture_buffer_object */ /*@{*/ |