i965: Don't try to normalize cubemap coordinates for textureSize.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 9 Nov 2011 09:09:03 +0000 (01:09 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 12 Nov 2011 08:56:20 +0000 (00:56 -0800)
commitb618e788976b0391fe28987537f7789e91f957a5
treea1b307d3ec43a46d641740df4558bcaa98052985
parentbf8ad170c5af58fe9f49b3ce0f92c4eda9e5d845
i965: Don't try to normalize cubemap coordinates for textureSize.

Although textureSize is represented as an ir_texture with op == ir_txs,
it doesn't have a coordinate, so normalizing it doesn't make sense.

Fixes crashes in oglconform glsl-bif-tex-size basic.samplerCube.* tests.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_cubemap_normalize.cpp