diff options
author | Marek Olšák <[email protected]> | 2012-04-02 00:33:52 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-04-04 13:09:47 +0200 |
commit | a633d82ce352a69fd54a2b0e262a91f27f478119 (patch) | |
tree | 54705296276660699de08a2936c724446cf6fbc0 /src/gallium/drivers/r600/r600_state.c | |
parent | 68bbfc1afe210d82acfb14a78b0fd8c436a8f78c (diff) |
r600g: remove dead code after the rework
Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 3a304d382ca..98e1830fab9 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2435,31 +2435,3 @@ void *r600_create_db_flush_dsa(struct r600_context *rctx) dsa_state->is_flush = true; return rstate; } - -void r600_pipe_init_buffer_resource(struct r600_context *rctx, - struct r600_pipe_resource_state *rstate) -{ - rstate->id = R600_PIPE_STATE_RESOURCE; - - rstate->bo[0] = NULL; - rstate->val[0] = 0; - rstate->val[1] = 0; - rstate->val[2] = 0; - rstate->val[3] = 0; - rstate->val[4] = 0; - rstate->val[5] = 0; - rstate->val[6] = 0xc0000000; -} - -void r600_pipe_mod_buffer_resource(struct r600_pipe_resource_state *rstate, - struct r600_resource *rbuffer, - unsigned offset, unsigned stride, - enum radeon_bo_usage usage) -{ - rstate->val[0] = offset; - rstate->bo[0] = rbuffer; - rstate->bo_usage[0] = usage; - rstate->val[1] = rbuffer->buf->size - offset - 1; - rstate->val[2] = S_038008_ENDIAN_SWAP(r600_endian_swap(32)) | - S_038008_STRIDE(stride); -} |