projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ac/nir, radv, radeonsi: Switch to using ac_shader_args
[mesa.git]
/
src
/
gallium
/
drivers
/
radeonsi
/
si_dma.c
diff --git
a/src/gallium/drivers/radeonsi/si_dma.c
b/src/gallium/drivers/radeonsi/si_dma.c
index 450ed82b4d6753392d8c02b32783503125a317b3..c277673c2dff3f5ec41cdb02cd24bb4aa8597957 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_dma.c
+++ b/
src/gallium/drivers/radeonsi/si_dma.c
@@
-26,7
+26,7
@@
#include "sid.h"
#include "si_pipe.h"
#include "sid.h"
#include "si_pipe.h"
-#include "util/u_format.h"
+#include "util/
format/
u_format.h"
static void si_dma_copy_buffer(struct si_context *ctx,
struct pipe_resource *dst,
static void si_dma_copy_buffer(struct si_context *ctx,
struct pipe_resource *dst,
@@
-43,7
+43,7
@@
static void si_dma_copy_buffer(struct si_context *ctx,
/* Mark the buffer range of destination as valid (initialized),
* so that transfer_map knows it should wait for the GPU when mapping
* that range. */
/* Mark the buffer range of destination as valid (initialized),
* so that transfer_map knows it should wait for the GPU when mapping
* that range. */
- util_range_add(&sdst->valid_buffer_range, dst_offset,
+ util_range_add(
dst,
&sdst->valid_buffer_range, dst_offset,
dst_offset + size);
dst_offset += sdst->gpu_address;
dst_offset + size);
dst_offset += sdst->gpu_address;