Mesa (master): radeonsi: remove an obsolete comment

Marek Olšák mareko at kemper.freedesktop.org
Mon Jul 4 22:56:11 UTC 2016


Module: Mesa
Branch: master
Commit: 1c00086746743df57ff72939ed6caa2cc6cdc72d
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=1c00086746743df57ff72939ed6caa2cc6cdc72d

Author: Marek Olšák <marek.olsak at amd.com>
Date:   Fri Jul  1 00:58:19 2016 +0200

radeonsi: remove an obsolete comment

It's not true.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle at amd.com>

---

 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 423eed1..4dcc8c8 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:




More information about the mesa-commit mailing list