summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_resource.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-04-26 13:39:19 +0200
committerMarek Olšák <[email protected]>2012-04-30 01:18:48 +0200
commit65d451d9fa1192c386301ca0b84b6c5cd369f92d (patch)
tree43b4111d1dd22f2e074c0bf4e87f969b949b2d03 /src/gallium/drivers/radeonsi/r600_resource.h
parent0b7d48cbad86eaac21fce3793da41b46db8be3b4 (diff)
radeonsi: don't create temporary user buffer for r600_upload_const_buffer
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_resource.h')
-rw-r--r--src/gallium/drivers/radeonsi/r600_resource.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_resource.h b/src/gallium/drivers/radeonsi/r600_resource.h
index e81a2ed4675..6926d764cbe 100644
--- a/src/gallium/drivers/radeonsi/r600_resource.h
+++ b/src/gallium/drivers/radeonsi/r600_resource.h
@@ -99,6 +99,8 @@ void r600_texture_transfer_unmap(struct pipe_context *ctx,
struct r600_context;
-void r600_upload_const_buffer(struct r600_context *rctx, struct r600_resource **rbuffer, uint32_t *offset);
+void r600_upload_const_buffer(struct r600_context *rctx, struct r600_resource **rbuffer,
+ const uint8_t *ptr, unsigned size,
+ uint32_t *const_offset);
#endif