diff options
author | Marek Olšák <[email protected]> | 2014-01-22 03:08:50 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2014-01-28 01:39:59 +0100 |
commit | 27a73a1b94a111890ce7fa58a997468b9dc65431 (patch) | |
tree | 71f0c4162815719c895893487c3c7d68afad656f /src/gallium/drivers/radeonsi/si_state.h | |
parent | 9f5c037ab9e5dd8d5e10ccb6962de52927e677bd (diff) |
radeonsi: move si_upload_const_buffer to a better place
This gets rid of another file.
Reviewed-by: Michel Dänzer <[email protected]>
Reviewed-by: Tom Stellard <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 3fe3cb80538..a4073d82574 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -199,6 +199,8 @@ void si_all_descriptors_begin_new_cs(struct si_context *sctx); void si_copy_buffer(struct si_context *sctx, struct pipe_resource *dst, struct pipe_resource *src, uint64_t dst_offset, uint64_t src_offset, unsigned size); +void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer, + const uint8_t *ptr, unsigned size, uint32_t *const_offset); /* si_state.c */ struct si_pipe_shader_selector; |