From fdf42d3abc1cfa723d8cf5e46fb86061416602e6 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 20 Oct 2016 16:17:23 +1100 Subject: glsl: set outputs read directly in shader_info Reviewed-by: Jason Ekstrand --- src/compiler/glsl/ir_set_program_inouts.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/compiler/glsl') diff --git a/src/compiler/glsl/ir_set_program_inouts.cpp b/src/compiler/glsl/ir_set_program_inouts.cpp index 9a33d56d881..7cd5d0ca0c6 100644 --- a/src/compiler/glsl/ir_set_program_inouts.cpp +++ b/src/compiler/glsl/ir_set_program_inouts.cpp @@ -136,7 +136,7 @@ mark(struct gl_program *prog, ir_variable *var, int offset, int len, } if (var->data.fb_fetch_output) - prog->OutputsRead |= bitfield; + prog->info.outputs_read |= bitfield; } } } @@ -429,7 +429,7 @@ do_set_program_inouts(exec_list *instructions, struct gl_program *prog, prog->info.inputs_read = 0; prog->info.outputs_written = 0; prog->SecondaryOutputsWritten = 0; - prog->OutputsRead = 0; + prog->info.outputs_read = 0; prog->PatchInputsRead = 0; prog->PatchOutputsWritten = 0; prog->SystemValuesRead = 0; -- cgit v1.2.3