i965: vs: Add fixup for textureSize with cube array samplers
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 22 Nov 2012 08:32:08 +0000 (21:32 +1300)
committerEric Anholt <eric@anholt.net>
Fri, 14 Dec 2012 23:26:31 +0000 (15:26 -0800)
commitf6a3fda25d2d9cf825c38e3e46f7cf44bd7c99e1
tree0b3f0744193825efbfeeba68e6418bb9c669f7ce
parent1cb57ea493d892bf5065e5fb0c5dd745744cc71c
i965: vs: Add fixup for textureSize with cube array samplers

V3: Fixed weird whitespace
V4: Use sampler's type rather than variable's type; otherwise broken
    with arrays of samplers. (Thanks Eric)
v5: Fix a couple more style nits (by anholt)

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp