diff options
author | Marek Olšák <[email protected]> | 2016-06-30 10:57:34 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2016-07-05 00:47:12 +0200 |
commit | 476e9cee1d0cbe321c401277214e6c36ce5b18c9 (patch) | |
tree | 647dae44f3b5b7f0caa30890574caf7017ee1df2 /src/gallium/drivers/radeonsi/si_shader.h | |
parent | a675c6a00036e1718230359ff0407592ef10db9a (diff) |
radeonsi: compute only one set of interpolation (i,j) when MSAA is disabled
This should increase the PS launch rate for shaders using at least 2 pairs
of perspective (i,j) and same for linear.
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.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.h b/src/gallium/drivers/radeonsi/si_shader.h index 6c2e83267ef..064773605fb 100644 --- a/src/gallium/drivers/radeonsi/si_shader.h +++ b/src/gallium/drivers/radeonsi/si_shader.h @@ -315,9 +315,9 @@ struct si_ps_prolog_bits { unsigned poly_stipple:1; unsigned force_persp_sample_interp:1; unsigned force_linear_sample_interp:1; + unsigned force_persp_center_interp:1; + unsigned force_linear_center_interp:1; /* TODO: - * - add force_center_interp if MSAA is disabled and centroid or - * sample are present * - add force_center_interp_bc_optimize to force center interpolation * based on the bc_optimize SGPR bit if MSAA is enabled, centroid is * present and sample isn't present. |