diff options
Diffstat (limited to 'src/glsl/ir_reader.cpp')
-rw-r--r-- | src/glsl/ir_reader.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/glsl/ir_reader.cpp b/src/glsl/ir_reader.cpp index 00e2db9a3f0..7fcb34d2390 100644 --- a/src/glsl/ir_reader.cpp +++ b/src/glsl/ir_reader.cpp @@ -413,6 +413,8 @@ ir_reader::read_declaration(s_expression *expr) // FINISHME: Check for duplicate/conflicting qualifiers. if (strcmp(qualifier->value(), "centroid") == 0) { var->centroid = 1; + } else if (strcmp(qualifier->value(), "sample") == 0) { + var->sample = 1; } else if (strcmp(qualifier->value(), "invariant") == 0) { var->invariant = 1; } else if (strcmp(qualifier->value(), "uniform") == 0) { |