OSDN Git Service

i965/fs: Drop dead comment about the old proj_attrib_mask optimization.
authorEric Anholt <eric@anholt.net>
Fri, 14 Feb 2014 23:41:40 +0000 (15:41 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 18 Feb 2014 18:01:45 +0000 (10:01 -0800)
The code was removed early last year.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_fs.cpp

index 4f5558b..d35928e 100644 (file)
@@ -1108,12 +1108,6 @@ fs_visitor::emit_general_interpolation(ir_variable *ir)
         } else {
            /* Smooth/noperspective interpolation case. */
            for (unsigned int k = 0; k < type->vector_elements; k++) {
-              /* FINISHME: At some point we probably want to push
-               * this farther by giving similar treatment to the
-               * other potentially constant components of the
-               * attribute, as well as making brw_vs_constval.c
-               * handle varyings other than gl_TexCoord.
-               */
                struct brw_reg interp = interp_reg(location, k);
                emit_linterp(attr, fs_reg(interp), interpolation_mode,
                             ir->data.centroid && !c->key.persample_shading,