radeonsi: remove an obsolete comment
authorMarek Olšák <marek.olsak@amd.com>
Thu, 30 Jun 2016 22:58:19 +0000 (00:58 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 4 Jul 2016 22:47:12 +0000 (00:47 +0200)
It's not true.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_shader.c

index 423eed1e31bb37a80640fedbbcc9f47d00b03030..4dcc8c835cd5cad87a50c24ee94ae17ea4276df2 100644 (file)
@@ -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: