i965: Add asserts to ensure that ir_tg4 offset arrays are lowered
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Oct 2013 08:40:46 +0000 (21:40 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 26 Oct 2013 09:28:05 +0000 (22:28 +1300)
commit4c1eae53951353643d0e172bc3a47b847312c7dc
tree0520e12f4fa0c188c01613f188b572c1df058557
parentde8948a0b6675a70ed035ef75267e2bb8c6814ce
i965: Add asserts to ensure that ir_tg4 offset arrays are lowered

We don't have a message that does 4 independent offsets; a lowering
pass needs to lower it to 4 normal gather4s before reaching this
point.

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