Re: [Mesa-dev] [PATCH 1/2] softpipe: fix shadow 2d texture array sampling

2011-12-19 Thread Brian Paul
On 12/19/2011 04:53 AM, Dave Airlie wrote: From: Dave Airlie The 4th texcoord is used in this case for the comparison. This fixes piglit glsl-fs-shadow2DArray* on softpipe. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 11 ++- src/gallium/drivers/so

[Mesa-dev] [PATCH 1/2] softpipe: fix shadow 2d texture array sampling

2011-12-19 Thread Dave Airlie
From: Dave Airlie The 4th texcoord is used in this case for the comparison. This fixes piglit glsl-fs-shadow2DArray* on softpipe. Signed-off-by: Dave Airlie --- src/gallium/auxiliary/tgsi/tgsi_exec.c | 11 ++- src/gallium/drivers/softpipe/sp_tex_sample.c | 17 ---