From 0a8ff1681b4149b50956791c5b080ab5753447ad Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Fri, 19 Aug 2016 15:37:52 -0700 Subject: [PATCH] nir: Fix a comment typo in nir_lower_drawpixels. Reviewed-by: Rob Clark --- 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 7ffaa525b5a..a71bccddfb0 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.30.2