radeonsi: use a bitmask for looping over dirty PM4 states
authorMarek Olšák <marek.olsak@amd.com>
Tue, 24 Jan 2017 23:09:24 +0000 (00:09 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Mon, 30 Jan 2017 12:27:14 +0000 (13:27 +0100)
commitac059f1c238ff8f9a6a1852ec9c89858e7276700
tree9f06a4e94884b22ed7451dc2c4ea9fd64a2c8b96
parent802fcdc0d2997bbcda794ffe8b78d45d29e3ed47
radeonsi: use a bitmask for looping over dirty PM4 states

also move it to draw_vbo, because it should be 0 in most cases

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/drivers/radeonsi/si_pipe.h
src/gallium/drivers/radeonsi/si_pm4.c
src/gallium/drivers/radeonsi/si_pm4.h
src/gallium/drivers/radeonsi/si_state.h
src/gallium/drivers/radeonsi/si_state_draw.c