[Mesa-dev] [PATCH 1/2] nir: Fix a comment typo in nir_lower_drawpixels.
Rob Clark
robdclark at gmail.com
Fri Aug 19 23:41:52 UTC 2016
On Fri, Aug 19, 2016 at 7:11 PM, Eric Anholt <eric at anholt.net> wrote:
>
opps, r-b
> ---
> 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
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-dev
mailing list