diff options
author | Ilia Mirkin <[email protected]> | 2016-05-30 11:50:07 -0400 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-08-30 20:25:15 -0400 |
commit | 891d7e3c9eb71ba42a7aea20dc45bdb3d624fc82 (patch) | |
tree | 9dc459a006ffdbee45e8ad0bb761649d2e028c8e /src/compiler/glsl/ir_set_program_inouts.cpp | |
parent | 10663c648e58762eb39c7670c9397b74521e8134 (diff) |
glsl: add gl_BoundingBox and associated varying slots
Signed-off-by: Ilia Mirkin <[email protected]>
Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/glsl/ir_set_program_inouts.cpp')
-rw-r--r-- | src/compiler/glsl/ir_set_program_inouts.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp b/src/compiler/glsl/ir_set_program_inouts.cpp index 4f6c886b6b3..48ed3c5c9e2 100644 --- a/src/compiler/glsl/ir_set_program_inouts.cpp +++ b/src/compiler/glsl/ir_set_program_inouts.cpp @@ -99,7 +99,9 @@ mark(struct gl_program *prog, ir_variable *var, int offset, int len, int idx = var->data.location + offset + i; bool is_patch_generic = var->data.patch && idx != VARYING_SLOT_TESS_LEVEL_INNER && - idx != VARYING_SLOT_TESS_LEVEL_OUTER; + idx != VARYING_SLOT_TESS_LEVEL_OUTER && + idx != VARYING_SLOT_BOUNDING_BOX0 && + idx != VARYING_SLOT_BOUNDING_BOX1; GLbitfield64 bitfield; if (is_patch_generic) { |