[Mesa-dev] [PATCH 1/2] nir: Fix a comment typo in nir_lower_drawpixels.

Eric Anholt eric at anholt.net
Fri Aug 19 23:11:59 UTC 2016


---
 src/compiler/nir/nir_lower_drawpixels.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/nir/nir_lower_drawpixels.c b/src/compiler/nir/nir_lower_drawpixels.c
index 7ffaa525b5a4..a71bccddfb07 100644
--- a/src/compiler/nir/nir_lower_drawpixels.c
+++ b/src/compiler/nir/nir_lower_drawpixels.c
@@ -209,7 +209,7 @@ lower_drawpixels_block(lower_drawpixels_state *state, nir_block *block)
             nir_variable *var = dvar->var;
 
             if (var->data.location == VARYING_SLOT_COL0) {
-               /* gl_FragCoord should not have array/struct deref's: */
+               /* gl_Color should not have array/struct deref's: */
                assert(dvar->deref.child == NULL);
                lower_color(state, intr);
             } else if (var->data.location == VARYING_SLOT_TEX0) {
-- 
2.9.3



More information about the mesa-dev mailing list