gallium: simplify tgsi tokens further
authorKeith Whitwell <keithw@vmware.com>
Tue, 24 Nov 2009 13:41:03 +0000 (13:41 +0000)
committerKeith Whitwell <keithw@vmware.com>
Tue, 24 Nov 2009 13:41:03 +0000 (13:41 +0000)
commitba1ca28cc62fed71c77902b95ae4ed36c6bf25f8
tree084fbb1b23239140a2adbd76013be830e1ba6f26
parent3c46bbee1bb4f107d68addae472cf7bbc0976653
gallium: simplify tgsi tokens further

Drop anonymous 'Extended' fields, have every optional token named
explicitly in its parent.  Eg. there is now an Instruction.Label flag,
etc.

Drop destination modifiers and other functionality which cannot be
generated by tgsi_ureg.c, which is now the primary way of creating
shaders.

Pull source modifiers into the source register token, drop the second
negate flag.  The source register token is now full - if we need to
expand it, probably best to move all of the modifiers to a new token
and have a single flag for it.
17 files changed:
src/gallium/auxiliary/draw/draw_pipe_aaline.c
src/gallium/auxiliary/draw/draw_pipe_pstipple.c
src/gallium/auxiliary/tgsi/tgsi_build.c
src/gallium/auxiliary/tgsi/tgsi_build.h
src/gallium/auxiliary/tgsi/tgsi_dump.c
src/gallium/auxiliary/tgsi/tgsi_exec.c
src/gallium/auxiliary/tgsi/tgsi_parse.c
src/gallium/auxiliary/tgsi/tgsi_parse.h
src/gallium/auxiliary/tgsi/tgsi_scan.c
src/gallium/auxiliary/tgsi/tgsi_sse2.c
src/gallium/auxiliary/tgsi/tgsi_text.c
src/gallium/auxiliary/tgsi/tgsi_ureg.c
src/gallium/auxiliary/tgsi/tgsi_util.c
src/gallium/auxiliary/vl/vl_shader_build.c
src/gallium/drivers/i915/i915_fpc_translate.c
src/gallium/drivers/svga/svga_tgsi_insn.c
src/gallium/include/pipe/p_shader_tokens.h