aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-07-01 00:58:19 +0200
committerMarek Olšák <[email protected]>2016-07-05 00:47:12 +0200
commit1c00086746743df57ff72939ed6caa2cc6cdc72d (patch)
tree6be53bf18b5173c507126e3ad9ff8f6fe9a429e9 /src/gallium
parent4d1f32376d845c08d2fd7cc868f143bc7cf6f9c9 (diff)
radeonsi: remove an obsolete comment
It's not true. Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/radeonsi/si_shader.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index 423eed1e31b..4dcc8c835cd 100644
--- a/src/gallium/drivers/radeonsi/si_shader.c
+++ b/src/gallium/drivers/radeonsi/si_shader.c
@@ -1281,11 +1281,6 @@ static unsigned select_interp_param(struct si_shader_context *ctx,
if (!ctx->is_monolithic)
return param;
- /* If the shader doesn't use center/centroid, just return the parameter.
- *
- * If the shader only uses one set of (i,j), "si_emit_spi_ps_input" can
- * switch between center/centroid and sample without shader changes.
- */
if (ctx->shader->key.ps.prolog.force_persp_sample_interp) {
switch (param) {
case SI_PARAM_PERSP_CENTROID: