i965: Pass symbolic swizzle to brw_swizzle() as a single argument.
authorFrancisco Jerez <currojerez@riseup.net>
Sat, 27 Feb 2016 01:04:38 +0000 (17:04 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Sun, 6 Mar 2016 20:22:39 +0000 (12:22 -0800)
commit537d3df97466835ad6438fe2c9121283e0da1bcd
tree74e9f472803b137a9b73bdfb9ed89b492993ae8a
parentff085d014ed8ccce230769575e50924561218d98
i965: Pass symbolic swizzle to brw_swizzle() as a single argument.

And replace brw_swizzle1() with brw_swizzle().  Seems slightly cleaner
and will allow reusing brw_swizzle() in the vec4 back-end more easily.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/drivers/dri/i965/brw_clip_unfilled.c
src/mesa/drivers/dri/i965/brw_clip_util.c
src/mesa/drivers/dri/i965/brw_eu_emit.c
src/mesa/drivers/dri/i965/brw_reg.h