summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/si_shader.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-06-30 10:50:26 +0200
committerMarek Olšák <[email protected]>2016-07-05 00:47:12 +0200
commita675c6a00036e1718230359ff0407592ef10db9a (patch)
tree0e3788378ef8f34aad50d8ba43287f54cf1fb3c9 /src/gallium/drivers/radeonsi/si_shader.h
parent61010cfac01963facfaa8c11e0857fff1d398cd6 (diff)
radeonsi: split ps.prolog.force_persample_interp into persp and linear bits
This reduces the number of v_mov's in the prolog. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_shader.h')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h
index e16bc9c6b8c..6c2e83267ef 100644
--- a/src/gallium/drivers/radeonsi/si_shader.h
+++ b/src/gallium/drivers/radeonsi/si_shader.h
@@ -313,7 +313,8 @@ struct si_ps_prolog_bits {
unsigned color_two_side:1;
/* TODO: add a flatshade bit that skips interpolation for colors */
unsigned poly_stipple:1;
- unsigned force_persample_interp:1;
+ unsigned force_persp_sample_interp:1;
+ unsigned force_linear_sample_interp:1;
/* TODO:
* - add force_center_interp if MSAA is disabled and centroid or
* sample are present