i965/vs: Add support for ir_tg4
authorChris Forbes <chrisf@ijw.co.nz>
Sun, 31 Mar 2013 08:39:37 +0000 (21:39 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Wed, 2 Oct 2013 18:55:59 +0000 (07:55 +1300)
commit4ed3930f9741721f4ace2d008678c0c88fdcc501
treeef6b6e2718450691448bc18a7aff32b2248f539f
parent942a4ec18f7e713b962e7acc451fbd50ff9c4042
i965/vs: Add support for ir_tg4

Pretty much the same as the FS case. Channel select goes in the header,

V2: Less mangling.
V3: Avoid sampling at all, for degenerate swizzles.

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