diff options
author | Timothy Arceri <[email protected]> | 2016-10-20 16:24:58 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | f79d37f1ecffcc5f7de04d5f3bb4166750703052 (patch) | |
tree | aa40afb250f1723c4af74cc76ecf2e73d1203748 /src/mesa/state_tracker/st_program.c | |
parent | 419de307dc9a2b21d94ca4aa8b81810c5f390f0f (diff) |
st/mesa: use common patch outputs written field
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r-- | src/mesa/state_tracker/st_program.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index eef99e6ea6e..0822509c4e5 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -1427,7 +1427,7 @@ st_translate_program_common(struct st_context *st, /* Also add patch outputs. */ for (attr = 0; attr < 32; attr++) { - if (prog->PatchOutputsWritten & (1u << attr)) { + if (prog->info.patch_outputs_written & (1u << attr)) { GLuint slot = num_outputs++; GLuint patch_attr = VARYING_SLOT_PATCH0 + attr; |