X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fcompiler%2Fnir%2Fnir_lower_drawpixels.c;h=e221fd5ce0fec611fe69288e82d4fae88bee6018;hb=d6e2bdfed3e22df26e9ad8874936241ba00575f6;hp=51c52d038c7e6f0b3e9f63fd156cf8044de729ff;hpb=54f9f34181ff3f6840472d16000e0092d12eb64d;p=mesa.git diff --git a/src/compiler/nir/nir_lower_drawpixels.c b/src/compiler/nir/nir_lower_drawpixels.c index 51c52d038c7..e221fd5ce0f 100644 --- a/src/compiler/nir/nir_lower_drawpixels.c +++ b/src/compiler/nir/nir_lower_drawpixels.c @@ -214,11 +214,11 @@ lower_drawpixels_block(lower_drawpixels_state *state, nir_block *block) nir_variable *var = dvar->var; if (var->data.location == VARYING_SLOT_COL0) { - /* gl_Color should not have array/struct deref's: */ + /* gl_Color should not have array/struct derefs: */ assert(dvar->deref.child == NULL); lower_color(state, intr); } else if (var->data.location == VARYING_SLOT_TEX0) { - /* gl_TexCoord should not have array/struct deref's: */ + /* gl_TexCoord should not have array/struct derefs: */ assert(dvar->deref.child == NULL); lower_texcoord(state, intr); }