tgsi: add generic instruction builder
authorKeith Whitwell <keithw@vmware.com>
Mon, 24 Aug 2009 10:32:06 +0000 (11:32 +0100)
committerKeith Whitwell <keithw@vmware.com>
Mon, 24 Aug 2009 10:33:38 +0000 (11:33 +0100)
commitb570a7e6b6ebd05e94fd91f2df53de7d2e2e05d2
tree9faf9441357e0797292b25c8ab8673366ab0c05e
parent7ee4f32dcdd4cc935ed48ffb46ecc6678047958e
tgsi: add generic instruction builder

When translating an incoming shader (rather than building one from scratch)
it's preferable to be able to call a single, generic instruction emitter
rather than figuring out which of the opcode-specific functions to call.
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_ureg.h