From c4807505c0e4210420605228482a1976f9355d60 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marek=20Ol=C5=A1=C3=A1k?= Date: Mon, 11 Jul 2016 19:14:33 +0200 Subject: [PATCH] radeonsi: fix a typo in SI_PARAM_LINEAR_* handling MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit introduced in 476e9cee1d0cbe321c401277214e6c36ce5b18c9 Reviewed-by: Nicolai Hähnle --- src/gallium/drivers/radeonsi/si_shader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.30.2