diff options
Diffstat (limited to 'src/mesa/state_tracker/st_glsl_to_tgsi.cpp')
-rw-r--r-- | src/mesa/state_tracker/st_glsl_to_tgsi.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp index 98c80aa6b08..dba0e9c8bc4 100644 --- a/src/mesa/state_tracker/st_glsl_to_tgsi.cpp +++ b/src/mesa/state_tracker/st_glsl_to_tgsi.cpp @@ -6509,7 +6509,8 @@ get_mesa_program_tgsi(struct gl_context *ctx, prog->info.double_inputs_read, &prog->PatchInputsRead); shrink_array_declarations(v->outputs, v->num_outputs, - &prog->OutputsWritten, 0ULL, &prog->PatchOutputsWritten); + &prog->info.outputs_written, 0ULL, + &prog->PatchOutputsWritten); count_resources(v, prog); /* The GLSL IR won't be needed anymore. */ |