diff options
author | Marek Olšák <[email protected]> | 2012-10-05 00:20:27 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-10-10 00:16:25 +0200 |
commit | d8ea64697bbdbc1c7987db00a55954e4cf094ad5 (patch) | |
tree | 58f3721f41cf9435655b4721f46bb695160ff65c /src/gallium/drivers/r600/r600_state.c | |
parent | 1e7776ca2bc59a6978d9b933d23852d47078dfa8 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 1d6171debb5..1c24a0b7143 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2223,7 +2223,7 @@ void r600_init_atom_start_cs(struct r600_context *rctx) struct r600_command_buffer *cb = &rctx->start_cs_cmd; uint32_t tmp; - r600_init_command_buffer(rctx, cb, 0, 256); + r600_init_command_buffer(cb, 256); /* R6xx requires this packet at the start of each command buffer */ if (rctx->chip_class == R600) { |