r300g: move emission of the MSPOS regs into the framebuffer state
authorMarek Olšák <maraeo@gmail.com>
Fri, 25 Jun 2010 01:28:09 +0000 (03:28 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sun, 27 Jun 2010 13:13:13 +0000 (15:13 +0200)
commitc200c47e6c2f8581608b83e703d611db1bebd7f6
tree37540af7d3f90b74c0a6fc54fe012dc9191bb79f
parentbb47d1c26fa000735bd06751ba00a98354c921b7
r300g: move emission of the MSPOS regs into the framebuffer state

Now the question is whether we are allowed to ignore gl_rasterization_rules and
pipe_rasterizer_state::multisample. The former is invariant anyway and
I think the latter would need re-emitting the AA state which is quite costly,
considering that it implicitly flushes the whole pipeline (all AA regs
in the AA state are *unpipelined*).
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_state.c