r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)
authorMarek Olšák <maraeo@gmail.com>
Sun, 28 Feb 2010 06:45:56 +0000 (07:45 +0100)
committerMarek Olšák <maraeo@gmail.com>
Sun, 28 Feb 2010 18:30:39 +0000 (19:30 +0100)
commit942762cd973af0df75040de21d3321cd19829e70
treeb7700f3c2cf71e52fa671cc8b102c29825baf2bf
parent79a86d312d8b3bc2e4fa28734467400e0b050301
r300g: decouple vertex stream setup (PSC) and VS output mapping (VAP_OUT)

Formerly known as vertex_format_state. These two are completely
unrelated when using HWTCL and decoupling them makes the design
less SWTCL-centric.

When bypass_vs_clip_and_viewport gets removed, the PSC setup will
no longer be a derived state.

This change shouldn't make unbreaking SWTCL harder.
src/gallium/drivers/r300/r300_context.c
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_emit.h
src/gallium/drivers/r300/r300_render.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c