summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-20 16:21:24 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit419de307dc9a2b21d94ca4aa8b81810c5f390f0f (patch)
tree9a4cdede29225c47bbce6a0ecc6d6b2027385239 /src/compiler/glsl
parent3d2a5039987b7182e775949ee1a4a63ea70ab289 (diff)
glsl: set patch inputs read 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 7cd5d0ca0c6..91fa0fcb049 100644
--- a/src/compiler/glsl/ir_set_program_inouts.cpp
+++ b/src/compiler/glsl/ir_set_program_inouts.cpp
@@ -111,7 +111,7 @@ mark(struct gl_program *prog, ir_variable *var, int offset, int len,
if (var->data.mode == ir_var_shader_in) {
if (is_patch_generic)
- prog->PatchInputsRead |= bitfield;
+ prog->info.patch_inputs_read |= bitfield;
else
prog->info.inputs_read |= bitfield;
@@ -430,7 +430,7 @@ do_set_program_inouts(exec_list *instructions, struct gl_program *prog,
prog->info.outputs_written = 0;
prog->SecondaryOutputsWritten = 0;
prog->info.outputs_read = 0;
- prog->PatchInputsRead = 0;
+ prog->info.patch_inputs_read = 0;
prog->PatchOutputsWritten = 0;
prog->SystemValuesRead = 0;
if (shader_stage == MESA_SHADER_FRAGMENT) {