r600g: update polygon offset only when rasterizer or zbuffer change
authorJerome Glisse <jglisse@redhat.com>
Fri, 3 Dec 2010 17:20:40 +0000 (12:20 -0500)
committerJerome Glisse <jglisse@redhat.com>
Fri, 3 Dec 2010 17:45:19 +0000 (12:45 -0500)
commit0b841b0349d7aca218eac4e9d9b7b1406ad71944
treefcee7e5de468b6942a76f27c1f8ea4aeaf04b075
parentdbf996f30856c000e18e3700f741d4e92561b4ec
r600g: update polygon offset only when rasterizer or zbuffer change

Aim is to build as little state as possible in draw functions.

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/evergreen_state.c
src/gallium/drivers/r600/r600_pipe.h
src/gallium/drivers/r600/r600_state.c
src/gallium/drivers/r600/r600_state_common.c