r600g: fix lod bias/explicit lod with cube maps.
authorDave Airlie <airlied@redhat.com>
Tue, 6 Nov 2012 21:51:56 +0000 (07:51 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 8 Nov 2012 23:24:40 +0000 (09:24 +1000)
commit037b4f80384c72c12e31192d1a30411d4660972d
tree6c047ab14627cedd66977f006bbe3c6dd2e63db3
parent7356579540cf22743ce93a080a41bc2dc2bb150b
r600g: fix lod bias/explicit lod with cube maps.

While developing cube map array support I found that we didn't
support this properly, also piglit didn't test for it at all.

I've submitted a test to piglit to check for this, and this
fixes explicit lod and lod bias with cube maps.

NOTE: This is a candidate for the 9.0 branch.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c