diff options
author | Marek Olšák <[email protected]> | 2016-07-11 19:14:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-07-13 19:46:16 +0200 |
commit | c4807505c0e4210420605228482a1976f9355d60 (patch) | |
tree | 4bf96c9a730d63c66abfa0c1d596eb1bd1d8b81d /src/gallium/drivers/radeonsi/si_shader.c | |
parent | f2f573e777d8883a713638f92cc85ed1b108596f (diff) |
radeonsi: fix a typo in SI_PARAM_LINEAR_* handling
introduced in 476e9cee1d0cbe321c401277214e6c36ce5b18c9
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_shader.c | 2 |
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; } } |