i965/vs: Add support for shadow comparitors with gather4
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Oct 2013 06:42:47 +0000 (19:42 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Sat, 26 Oct 2013 09:16:28 +0000 (22:16 +1300)
commit32f898a71cd0a83677944f0444145c4a04c966a1
treea0425f1fcf5a76203fc09496d14e9fbe473b7d2a
parent070c841111a24e1813c24d314687a33a266f6870
i965/vs: Add support for shadow comparitors with gather4

gather4_c's argument layout is straightforward -- refz just goes on the
end.

gather4_po_c's layout however -- the array index is replaced with refz.

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