OSDN Git Service

i965/disasm: Cut piles of duplicate swizzle printing.
authorKenneth Graunke <kenneth@whitecape.org>
Sun, 29 Jun 2014 02:16:18 +0000 (19:16 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 30 Jun 2014 21:05:28 +0000 (14:05 -0700)
commitf36bebcd5c9d3f23d611c59a97ab49e93c8850ee
treeccbb754abf4c2470832258ee23829b0f94420930
parentbdcbcc73dd67892247e133309c65eb4677757eb0
i965/disasm: Cut piles of duplicate swizzle printing.

Making a helper function saves us from cut and pasting this four times.

Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Reviewed-by: Kristian Høgsberg <krh@bitplanet.net>
src/mesa/drivers/dri/i965/brw_disasm.c