i965/ivb: Flag RG32F quirk for texture gather regardless of swizzles
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 5 Oct 2013 10:26:07 +0000 (23:26 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 5 Oct 2013 22:25:14 +0000 (11:25 +1300)
commit2656c6118be066766f16cc7c801e8e7997539c8b
tree3664ad3c6997d588e0a2d795444f2dd624521cc5
parente8ec2e03442cc21e84ff3a1ed7610e6b6d4468e5
i965/ivb: Flag RG32F quirk for texture gather regardless of swizzles

As of ARB_gpu_shader5, textureGather doesn't always read the
post-swizzle RED channel -- so we can't just look at the red swizzle
state.

Theoretically we could only flag the quirk if *some* green swizzle is in
use, but that's probably more trouble than it's worth.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm.c