[Mesa-dev] [PATCH 1/4] i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.

2013-01-04 Thread Kenneth Graunke
The new hardware actually just supports this now. --- src/mesa/drivers/dri/i965/brw_defines.h | 1 + src/mesa/drivers/dri/i965/brw_fs_emit.cpp | 7 +-- src/mesa/drivers/dri/i965/brw_shader.cpp| 3 ++- src/mesa/drivers/dri/i965/brw_vec4_emit.cpp | 7 +-- 4 files changed, 13 insert

Re: [Mesa-dev] [PATCH 1/4] i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.

2013-01-07 Thread Eric Anholt
Kenneth Graunke writes: > diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp > b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp > index 63f09fe..0c2b696 100644 > --- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp > +++ b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp > @@ -387,8 +387,11 @@ fs_generator::g

Re: [Mesa-dev] [PATCH 1/4] i965: Use Haswell's sample_d_c for textureGrad with shadow samplers.

2013-01-15 Thread Anuj Phogat
On Tue, Jan 8, 2013 at 3:10 AM, Eric Anholt wrote: > Kenneth Graunke writes: >> diff --git a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp >> b/src/mesa/drivers/dri/i965/brw_fs_emit.cpp >> index 63f09fe..0c2b696 100644 >> --- a/src/mesa/drivers/dri/i965/brw_fs_emit.cpp >> +++ b/src/mesa/drivers/dri/