diff options
author | Marek Olšák <[email protected]> | 2018-02-14 20:12:51 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2018-02-23 20:50:15 +0100 |
commit | 605a7f6db51cb946eed508bc9a7adfa753c75e10 (patch) | |
tree | 7921ee566f94e6a1ec40930a90c5cef570d94101 /src/compiler/glsl/builtin_variables.cpp | |
parent | 14a2c87c41946794a4ea4870a160b70c01225c4f (diff) |
mesa: implement ARB_compatibility
Tested-by: Dieter Nützel <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/compiler/glsl/builtin_variables.cpp')
-rw-r--r-- | src/compiler/glsl/builtin_variables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/builtin_variables.cpp b/src/compiler/glsl/builtin_variables.cpp index a686cb6a457..f0210b60bc7 100644 --- a/src/compiler/glsl/builtin_variables.cpp +++ b/src/compiler/glsl/builtin_variables.cpp @@ -441,7 +441,7 @@ private: builtin_variable_generator::builtin_variable_generator( exec_list *instructions, struct _mesa_glsl_parse_state *state) : instructions(instructions), state(state), symtab(state->symbols), - compatibility(state->compat_shader || !state->is_version(140, 100)), + compatibility(state->compat_shader || state->ARB_compatibility_enable), bool_t(glsl_type::bool_type), int_t(glsl_type::int_type), uint_t(glsl_type::uint_type), uint64_t(glsl_type::uint64_t_type), |