summaryrefslogtreecommitdiffstats
path: root/src/compiler
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2016-08-19 15:37:52 -0700
committerEric Anholt <[email protected]>2016-08-22 11:52:26 -0700
commit0a8ff1681b4149b50956791c5b080ab5753447ad (patch)
tree1247074e0233e2f208622f9ec6273a432a1c327d /src/compiler
parentf4d143f0d9736f4413bcb9e778bf92b97684e6f9 (diff)
nir: Fix a comment typo in nir_lower_drawpixels.
Reviewed-by: Rob Clark <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r--src/compiler/nir/nir_lower_drawpixels.c2
1 files changed, 1 insertions, 1 deletions
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) {