diff options
author | Marek Olšák <[email protected]> | 2012-01-31 10:50:51 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-02-21 21:42:27 +0100 |
commit | f126253040654d52db134063a69ebaf0c417d410 (patch) | |
tree | ca0e9657219824b5a54c797b16958142f1693d6c /src/gallium/drivers/r600/r600_hw_context_priv.h | |
parent | 172bb92db1a3c317867d9cfec6f15c09c37a0f6c (diff) |
r600g: turn init_config into a command buffer for starting a CS
This is the first pure command buffer. It contains CS initialization
packets and emits invariant state (i.e. the registers which never or rarely
change).
The affected registers are removed from *_hw_context.c, so that both ways
of emitting commands can co-exist.
v2: emit context_control in cayman's start_cs too
Diffstat (limited to 'src/gallium/drivers/r600/r600_hw_context_priv.h')
-rw-r--r-- | src/gallium/drivers/r600/r600_hw_context_priv.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_hw_context_priv.h b/src/gallium/drivers/r600/r600_hw_context_priv.h index 278bc0d6fab..1e5713873d9 100644 --- a/src/gallium/drivers/r600/r600_hw_context_priv.h +++ b/src/gallium/drivers/r600/r600_hw_context_priv.h @@ -60,7 +60,6 @@ void r600_context_pipe_state_set_resource(struct r600_context *ctx, struct r600_ void r600_context_dirty_block(struct r600_context *ctx, struct r600_block *block, int dirty, int index); int r600_setup_block_table(struct r600_context *ctx); -void r600_init_cs(struct r600_context *ctx); int r600_resource_init(struct r600_context *ctx, struct r600_range *range, unsigned offset, unsigned nblocks, unsigned stride, struct r600_reg *reg, int nreg, unsigned offset_base); /* |