r600g: remove unused function
authorMarek Olšák <maraeo@gmail.com>
Mon, 10 Sep 2012 21:58:18 +0000 (23:58 +0200)
committerMarek Olšák <maraeo@gmail.com>
Mon, 10 Sep 2012 22:02:58 +0000 (00:02 +0200)
src/gallium/drivers/r600/r600.h
src/gallium/drivers/r600/r600_state_common.c

index 1c8bd243256ec0c234f087f3f9776ad1a80ff49b..af7b0ca2e7455211b84a4a410c3a48b7e5ae4b5e 100644 (file)
@@ -220,11 +220,6 @@ void _r600_pipe_state_add_reg(struct r600_context *ctx,
                              uint32_t offset, uint32_t value,
                              uint32_t range_id, uint32_t block_id);
 
-void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state,
-                                    uint32_t offset, uint32_t value,
-                                    struct r600_resource *bo,
-                                    enum radeon_bo_usage usage);
-
 #define r600_pipe_state_add_reg_bo(state, offset, value, bo, usage) _r600_pipe_state_add_reg_bo(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset), bo, usage)
 #define r600_pipe_state_add_reg(state, offset, value) _r600_pipe_state_add_reg(rctx, state, offset, value, CTX_RANGE_ID(offset), CTX_BLOCK_ID(offset))
 
index e67eba8921cbf793bdd91e25eb9791f81b5a2845..079934074a5d409646d42ab57b2da914bba35690 100644 (file)
@@ -1398,23 +1398,6 @@ void _r600_pipe_state_add_reg(struct r600_context *ctx,
                                    range_id, block_id, NULL, 0);
 }
 
-void r600_pipe_state_add_reg_noblock(struct r600_pipe_state *state,
-                                    uint32_t offset, uint32_t value,
-                                    struct r600_resource *bo,
-                                    enum radeon_bo_usage usage)
-{
-       if (bo) assert(usage);
-
-       state->regs[state->nregs].id = offset;
-       state->regs[state->nregs].block = NULL;
-       state->regs[state->nregs].value = value;
-       state->regs[state->nregs].bo = bo;
-       state->regs[state->nregs].bo_usage = usage;
-
-       state->nregs++;
-       assert(state->nregs < R600_BLOCK_MAX_REG);
-}
-
 uint32_t r600_translate_stencil_op(int s_op)
 {
        switch (s_op) {