Mesa (master): nir: Fix a comment typo in nir_lower_drawpixels.
Eric Anholt
anholt at kemper.freedesktop.org
Mon Aug 22 19:11:32 UTC 2016
Module: Mesa
Branch: master
Commit: 0a8ff1681b4149b50956791c5b080ab5753447ad
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0a8ff1681b4149b50956791c5b080ab5753447ad
Author: Eric Anholt <eric at anholt.net>
Date: Fri Aug 19 15:37:52 2016 -0700
nir: Fix a comment typo in nir_lower_drawpixels.
Reviewed-by: Rob Clark <robdclark at gmail.com>
---
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 7ffaa52..a71bccd 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) {
More information about the mesa-commit
mailing list