aboutsummaryrefslogtreecommitdiffstats
path: root/src/freedreno/ir3/ir3_compiler_nir.c
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2019-04-03 19:55:34 -0400
committerRob Clark <[email protected]>2019-04-25 14:13:31 -0700
commit4d08c1b595e36c0a8f64410b7328fc0c9b6cbeb6 (patch)
tree6dcbee3d7ab1839718d83d5f2eeadcd96f1de819 /src/freedreno/ir3/ir3_compiler_nir.c
parent96d2e4ab8ad394a4c3e8d315880b7af7a0cc824c (diff)
compiler: rename SYSTEM_VALUE_VARYING_COORD
And add corresponding enums for different sorts of varying interpolation. Signed-off-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/freedreno/ir3/ir3_compiler_nir.c')
-rw-r--r--src/freedreno/ir3/ir3_compiler_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/freedreno/ir3/ir3_compiler_nir.c b/src/freedreno/ir3/ir3_compiler_nir.c
index e375f3c2421..41d297a4c33 100644
--- a/src/freedreno/ir3/ir3_compiler_nir.c
+++ b/src/freedreno/ir3/ir3_compiler_nir.c
@@ -2577,7 +2577,7 @@ emit_instructions(struct ir3_context *ctx)
* because sysvals need to be appended after varyings:
*/
if (vcoord) {
- add_sysval_input_compmask(ctx, SYSTEM_VALUE_VARYING_COORD,
+ add_sysval_input_compmask(ctx, SYSTEM_VALUE_BARYCENTRIC_PIXEL,
0x3, vcoord);
}