i965/vec4: Remove swizzle_for_size() in favour of brw_swizzle_for_size().
authorFrancisco Jerez <currojerez@riseup.net>
Wed, 18 Mar 2015 19:18:08 +0000 (21:18 +0200)
committerFrancisco Jerez <currojerez@riseup.net>
Mon, 23 Mar 2015 12:09:32 +0000 (14:09 +0200)
commit23bda945f570b4f566ed39b4c1de89a957247df7
treed1ffe8f040e7cbd7c3dc8e7e5b13f7dee6c01ee1
parent5bcca9f8dc34a13e34270d284bcf8a49b52bb58e
i965/vec4: Remove swizzle_for_size() in favour of brw_swizzle_for_size().

It could be objected that swizzle_for_size() is "faster" than
brw_swizzle_for_size().  It's not measurably better in any reasonable
CPU-bound benchmark on VLV according to the Finnish benchmarking
system (including the SynMark2 DrvShComp shader compilation
benchmark).

Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_ir_vec4.h
src/mesa/drivers/dri/i965/brw_vec4.cpp
src/mesa/drivers/dri/i965/brw_vec4_visitor.cpp