Re: [Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-12 Thread Brian Paul
On Sat, Dec 10, 2011 at 2:47 PM, Dave Airlie wrote: >>> >>> The piglit draw-pixel-with-texture was asserting in the glsl->tgsi code, >>> due to 0 texture target, this makes sure the texture target is copied over >>> correctly when we copy instructions around. >> >> Oh so it looks like this could b

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-12 Thread Brian Paul
On Sat, Dec 10, 2011 at 11:34 AM, Dave Airlie wrote: > From: Dave Airlie > > The piglit draw-pixel-with-texture was asserting in the glsl->tgsi code, > due to 0 texture target, this makes sure the texture target is copied over > correctly when we copy instructions around. > > Signed-off-by: Dave

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-10 Thread Dave Airlie
>> >> The piglit draw-pixel-with-texture was asserting in the glsl->tgsi code, >> due to 0 texture target, this makes sure the texture target is copied over >> correctly when we copy instructions around. > > Oh so it looks like this could be "fun" or maybe the other one, so > glsl->tgsi is broken f

Re: [Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-10 Thread Dave Airlie
On Sat, Dec 10, 2011 at 6:34 PM, Dave Airlie wrote: > From: Dave Airlie > > The piglit draw-pixel-with-texture was asserting in the glsl->tgsi code, > due to 0 texture target, this makes sure the texture target is copied over > correctly when we copy instructions around. Oh so it looks like this

[Mesa-dev] [PATCH] glsl_to_tgsi: make sure copied instructions don't lose texture target.

2011-12-10 Thread Dave Airlie
From: Dave Airlie The piglit draw-pixel-with-texture was asserting in the glsl->tgsi code, due to 0 texture target, this makes sure the texture target is copied over correctly when we copy instructions around. Signed-off-by: Dave Airlie --- src/mesa/state_tracker/st_glsl_to_tgsi.cpp |4 +++