diff options
author | Tapani Pälli <[email protected]> | 2015-08-21 09:42:10 +0300 |
---|---|---|
committer | Tapani Pälli <[email protected]> | 2015-08-27 10:54:41 +0300 |
commit | c2c64fd26999cedf4b63c754145f7258517f5bce (patch) | |
tree | f878a943ca456d49c45e7f66c695db99d96a2a98 /src/glsl/builtin_functions.cpp | |
parent | b9101b14439836c337abeffafc4b058a8d80d3ef (diff) |
glsl: add support for OES_texture_storage_multisample_2d_array
v2: use ARB_texture_multisample enable bit
Patch adds extension enable bit and enables required keywords
and builtin functions for the extension.
Signed-off-by: Tapani Pälli <[email protected]>
Reviewed-by: Marta Lofstedt <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/glsl/builtin_functions.cpp')
-rw-r--r-- | src/glsl/builtin_functions.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/glsl/builtin_functions.cpp b/src/glsl/builtin_functions.cpp index 1bc3de4aec5..4092d682c69 100644 --- a/src/glsl/builtin_functions.cpp +++ b/src/glsl/builtin_functions.cpp @@ -284,8 +284,9 @@ texture_multisample(const _mesa_glsl_parse_state *state) static bool texture_multisample_array(const _mesa_glsl_parse_state *state) { - return state->is_version(150, 0) || - state->ARB_texture_multisample_enable; + return state->is_version(150, 320) || + state->ARB_texture_multisample_enable || + state->OES_texture_storage_multisample_2d_array_enable; } static bool |