st/mesa: convert to new tgsi_ureg mechanism for shader emit
authorKeith Whitwell <keithw@vmware.com>
Sat, 12 Sep 2009 21:22:48 +0000 (14:22 -0700)
committerKeith Whitwell <keithw@vmware.com>
Mon, 14 Sep 2009 16:09:15 +0000 (17:09 +0100)
commit4295b34d25f40f38b8cfd3ebdc64aef29d0666db
tree518a347f82bfdf8dcf90cc717fe451dcc7311062
parentd8a191e314922735bfe0e7cf1906eb556a659f59
st/mesa: convert to new tgsi_ureg mechanism for shader emit

Should be easier to read and work with than the older ways of emitting
TGSI tokens.

Also, emit simpler TGSI than previously:
  - translate away source and dest extended modifiers
  - translate away the SWZ opcode
src/mesa/state_tracker/st_mesa_to_tgsi.c
src/mesa/state_tracker/st_mesa_to_tgsi.h
src/mesa/state_tracker/st_program.c