From: Marek Olšák Date: Mon, 11 Jul 2016 17:14:33 +0000 (+0200) Subject: radeonsi: fix a typo in SI_PARAM_LINEAR_* handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c4807505c0e4210420605228482a1976f9355d60;p=mesa.git radeonsi: fix a typo in SI_PARAM_LINEAR_* handling introduced in 476e9cee1d0cbe321c401277214e6c36ce5b18c9 Reviewed-by: Nicolai Hähnle --- 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; } }