summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 77d1a8b96e8..f5acc1e706d 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -1306,7 +1306,7 @@ static unsigned select_interp_param(struct si_shader_context *ctx,
switch (param) {
case SI_PARAM_LINEAR_CENTROID:
case SI_PARAM_LINEAR_SAMPLE:
- return SI_PARAM_PERSP_CENTER;
+ return SI_PARAM_LINEAR_CENTER;
}
}