summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2016-06-20 16:35:32 -0700
committerIan Romanick <[email protected]>2016-07-19 12:19:28 -0700
commit15c4ae461dba101e12924fc8e3e9099b3e700bab (patch)
tree16198d4cff499b3f07c29746efd266b582e8d0fa /src/compiler/glsl/standalone_scaffolding.cpp
parent91482ef226de7686350202cfbdfda4358d9cea86 (diff)
MESA_shader_integer_functions: Boiler plate extension tracking
Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/compiler/glsl/standalone_scaffolding.cpp')
-rw-r--r--src/compiler/glsl/standalone_scaffolding.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/glsl/standalone_scaffolding.cpp b/src/compiler/glsl/standalone_scaffolding.cpp
index 53729af3921..b0fb4b726ae 100644
--- a/src/compiler/glsl/standalone_scaffolding.cpp
+++ b/src/compiler/glsl/standalone_scaffolding.cpp
@@ -177,6 +177,8 @@ void initialize_context_to_defaults(struct gl_context *ctx, gl_api api)
ctx->Extensions.EXT_shader_integer_mix = true;
ctx->Extensions.EXT_texture_array = true;
+ ctx->Extensions.MESA_shader_integer_functions = true;
+
ctx->Extensions.NV_texture_rectangle = true;
ctx->Const.GLSLVersion = 120;