r600g: split pipe state creating/binding from hw state creation
authorJerome Glisse <jglisse@redhat.com>
Wed, 28 Jul 2010 23:33:50 +0000 (19:33 -0400)
committerJerome Glisse <jglisse@redhat.com>
Wed, 28 Jul 2010 23:36:16 +0000 (19:36 -0400)
commit6f0f6c64596b7bbbfa96e8af6715565e37efa91e
tree7425d3eb814dfcf41f885005bf9f52cdbec5b071
parent6849916170c0275c13510251a7b217c20f2b993e
r600g: split pipe state creating/binding from hw state creation

Split hw vs pipe states creation handling as hw states group doesn't
match pipe state group exactly. Right now be dumb about that and
rebuild all hw states on each draw call. More optimization on that
side coming.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_blit.c
src/gallium/drivers/r600/r600_buffer.c
src/gallium/drivers/r600/r600_context.c
src/gallium/drivers/r600/r600_context.h
src/gallium/drivers/r600/r600_draw.c
src/gallium/drivers/r600/r600_resource.c
src/gallium/drivers/r600/r600_shader.c
src/gallium/drivers/r600/r600_state.c
src/gallium/winsys/r600/drm/r600_drm.c