From: Eric Anholt Date: Fri, 19 Aug 2016 22:37:52 +0000 (-0700) Subject: nir: Fix a comment typo in nir_lower_drawpixels. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0a8ff1681b4149b50956791c5b080ab5753447ad;p=mesa.git nir: Fix a comment typo in nir_lower_drawpixels. Reviewed-by: Rob Clark --- 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) {