Re: [Mesa-dev] [PATCH 2/2] nir: Fix crash in nir_lower_drawpixels.

2016-08-19 Thread Rob Clark
On Fri, Aug 19, 2016 at 7:12 PM, Eric Anholt wrote: > Generally you'd see the gl_Color reference first and get some cursor set. > However, in piglit draw-pixel-with-texture we're now seeing the TexCoord > dereferenced first. yeah, that makes sense, r-b > --- >

[Mesa-dev] [PATCH 2/2] nir: Fix crash in nir_lower_drawpixels.

2016-08-19 Thread Eric Anholt
Generally you'd see the gl_Color reference first and get some cursor set. However, in piglit draw-pixel-with-texture we're now seeing the TexCoord dereferenced first. --- src/compiler/nir/nir_lower_drawpixels.c | 2 ++ 1 file changed, 2 insertions(+) diff --git