r600g: remove the "atom" variable from r600_command_buffer
authorMarek Olšák <maraeo@gmail.com>
Thu, 4 Oct 2012 22:20:27 +0000 (00:20 +0200)
committerMarek Olšák <maraeo@gmail.com>
Tue, 9 Oct 2012 22:16:25 +0000 (00:16 +0200)
commitd8ea64697bbdbc1c7987db00a55954e4cf094ad5
tree58f3721f41cf9435655b4721f46bb695160ff65c
parent1e7776ca2bc59a6978d9b933d23852d47078dfa8
r600g: remove the "atom" variable from r600_command_buffer

r600_command_buffer is not an atom.

The "atoms" have evolved into state slots (or groups of state slots) where
you can bind states. There is a fixed amount of atoms (state slots)
in the context.

The command buffers are nothing like that. They represent states, not state
slots.

We could probably give r600_atom a better name someday.

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