i965: Make swizzle_to_scs non-static.
authorKenneth Graunke <kenneth@whitecape.org>
Tue, 15 Jan 2013 05:26:28 +0000 (21:26 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Sat, 16 Nov 2013 17:12:58 +0000 (09:12 -0800)
commit04856ceb5c3cb01bd96ca45e7bb5f2d1eacc46f9
treef1e1ce0fccb11788826d7576fde2ea9107f5244a
parent717241bf4a22184b8b69cf46b44273b7df5378d4
i965: Make swizzle_to_scs non-static.

We'll need this for Broadwell code as well.

Normally, when we make things public, we add the "brw" prefix.  I'm not
crazy about that in this case, since it deals with prog_instruction.h's
SWIZZLE_XYZW values, rather than the BRW_SWIZZLE_XYZW enums.  However,
I can't think of a better name, and at least the comments and code make
it clear.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/brw_state.h
src/mesa/drivers/dri/i965/gen7_wm_surface_state.c