summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-20 16:19:34 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit3d2a5039987b7182e775949ee1a4a63ea70ab289 (patch)
tree2be245d27e2854e8ad19eec38adfe82537429e1b /src/mesa/state_tracker/st_program.c
parentfdf42d3abc1cfa723d8cf5e46fb86061416602e6 (diff)
st/mesa: use common patch inputs read 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.c2
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 b1ca0c6d6a2..eef99e6ea6e 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -1303,7 +1303,7 @@ st_translate_program_common(struct st_context *st,
/* Also add patch inputs. */
for (attr = 0; attr < 32; attr++) {
- if (prog->PatchInputsRead & (1u << attr)) {
+ if (prog->info.patch_inputs_read & (1u << attr)) {
GLuint slot = num_inputs++;
GLuint patch_attr = VARYING_SLOT_PATCH0 + attr;