diff options
author | Dave Airlie <[email protected]> | 2012-11-03 20:43:17 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-11-09 10:26:33 +1000 |
commit | 4c8750015b23207de0b44f39bd33bb556268b51d (patch) | |
tree | 202b207646da88a745b46ebaf15ae0cc378da180 /src/glsl/standalone_scaffolding.cpp | |
parent | 2c52c0e1cec60003c03b6f6a61ead0c12b5ece25 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/glsl/standalone_scaffolding.cpp')
-rw-r--r-- | src/glsl/standalone_scaffolding.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/standalone_scaffolding.cpp b/src/glsl/standalone_scaffolding.cpp index 7e37be57860..120ee953471 100644 --- a/src/glsl/standalone_scaffolding.cpp +++ b/src/glsl/standalone_scaffolding.cpp @@ -81,6 +81,7 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api) ctx->Extensions.OES_EGL_image_external = true; ctx->Extensions.ARB_shader_bit_encoding = true; ctx->Extensions.OES_standard_derivatives = true; + ctx->Extensions.ARB_texture_cube_map_array = true; ctx->Const.GLSLVersion = 120; |