diff options
Diffstat (limited to 'src/glsl/ir.cpp')
-rw-r--r-- | src/glsl/ir.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/glsl/ir.cpp b/src/glsl/ir.cpp index 739a9f41257..b83884163d5 100644 --- a/src/glsl/ir.cpp +++ b/src/glsl/ir.cpp @@ -1617,6 +1617,17 @@ ir_variable::determine_interpolation_mode(bool flat_shade) return INTERP_QUALIFIER_SMOOTH; } +void +ir_variable::enable_extension_warning(const char *extension) +{ + this->warn_extension = extension; +} + +const char * +ir_variable::get_extension_warning() const +{ + return this->warn_extension; +} ir_function_signature::ir_function_signature(const glsl_type *return_type, builtin_available_predicate b) |