[Mesa-dev] [PATCH 6/8] radeonsi: remove an obsolete comment

Marek Olšák maraeo at gmail.com
Thu Jun 30 23:28:45 UTC 2016


From: Marek Olšák <marek.olsak at amd.com>

It's not true.
---
 src/gallium/drivers/radeonsi/si_shader.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
index a408dee..77d1a8b 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:
-- 
2.7.4



More information about the mesa-dev mailing list