summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/vc5/vc5_emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/vc5/vc5_emit.c')
-rw-r--r--src/gallium/drivers/vc5/vc5_emit.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/vc5/vc5_emit.c b/src/gallium/drivers/vc5/vc5_emit.c
index b4486ef9268..53fa01b3f42 100644
--- a/src/gallium/drivers/vc5/vc5_emit.c
+++ b/src/gallium/drivers/vc5/vc5_emit.c
@@ -520,17 +520,17 @@ vc5_emit_state(struct pipe_context *pctx)
if (emitted_any) {
flags.action_for_flat_shade_flags_of_lower_numbered_varyings =
- V3D_FLAT_SHADE_ACTION_UNCHANGED;
+ V3D_VARYING_FLAGS_ACTION_UNCHANGED;
flags.action_for_flat_shade_flags_of_higher_numbered_varyings =
- V3D_FLAT_SHADE_ACTION_UNCHANGED;
+ V3D_VARYING_FLAGS_ACTION_UNCHANGED;
} else {
flags.action_for_flat_shade_flags_of_lower_numbered_varyings =
((i == 0) ?
- V3D_FLAT_SHADE_ACTION_UNCHANGED :
- V3D_FLAT_SHADE_ACTION_ZEROED);
+ V3D_VARYING_FLAGS_ACTION_UNCHANGED :
+ V3D_VARYING_FLAGS_ACTION_ZEROED);
flags.action_for_flat_shade_flags_of_higher_numbered_varyings =
- V3D_FLAT_SHADE_ACTION_ZEROED;
+ V3D_VARYING_FLAGS_ACTION_ZEROED;
}
flags.flat_shade_flags_for_varyings_v024 =