diff options
author | Eric Anholt <[email protected]> | 2018-01-12 12:24:36 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2018-01-12 21:57:45 -0800 |
commit | aa77a9cf5a4821100eb0dbc9a47bcff410a3a73f (patch) | |
tree | 38eb6bbd23739f473ef026870e2a76d398e01959 /src/gallium/drivers | |
parent | 8e4c705515c14128e05ccb3bd18aa7aa15232716 (diff) |
broadcom/vc5: Rename V3D 3.x Flat Shade Action to match v4.x naming.
Now that the actions are reused for centroid and nonperspective, give them
a more generic name.
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/vc5/vc5_emit.c | 10 |
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 = |