summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-20 16:25:28 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit2f59f3eee591600aa8b3a0b0a30aea321185bcb5 (patch)
tree8730629a2e9205a5dab7ebef76fb3e0338fe3b2e /src/compiler/glsl
parentf79d37f1ecffcc5f7de04d5f3bb4166750703052 (diff)
glsl: set patch outputs written directly in shader_info
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/compiler/glsl')
-rw-r--r--src/compiler/glsl/ir_set_program_inouts.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp b/src/compiler/glsl/ir_set_program_inouts.cpp
index 91fa0fcb049..d8c4d709217 100644
--- a/src/compiler/glsl/ir_set_program_inouts.cpp
+++ b/src/compiler/glsl/ir_set_program_inouts.cpp
@@ -128,7 +128,7 @@ mark(struct gl_program *prog, ir_variable *var, int offset, int len,
} else {
assert(var->data.mode == ir_var_shader_out);
if (is_patch_generic) {
- prog->PatchOutputsWritten |= bitfield;
+ prog->info.patch_outputs_written |= bitfield;
} else if (!var->data.read_only) {
prog->info.outputs_written |= bitfield;
if (var->data.index > 0)
@@ -431,7 +431,7 @@ do_set_program_inouts(exec_list *instructions, struct gl_program *prog,
prog->SecondaryOutputsWritten = 0;
prog->info.outputs_read = 0;
prog->info.patch_inputs_read = 0;
- prog->PatchOutputsWritten = 0;
+ prog->info.patch_outputs_written = 0;
prog->SystemValuesRead = 0;
if (shader_stage == MESA_SHADER_FRAGMENT) {
prog->info.fs.uses_sample_qualifier = false;