From c4807505c0e4210420605228482a1976f9355d60 Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 11 Jul 2016 19:14:33 +0200 Subject: radeonsi: fix a typo in SI_PARAM_LINEAR_* handling MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 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(-) (limited to 'src/gallium/drivers/radeonsi/si_shader.c') 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; } } -- cgit v1.2.3