projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fe0320
)
radeonsi: fix a compile failure due to disabled asserts
author
Marek Olšák
<marek.olsak@amd.com>
Mon, 7 Aug 2017 20:51:45 +0000
(22:51 +0200)
committer
Marek Olšák
<marek.olsak@amd.com>
Mon, 7 Aug 2017 20:51:45 +0000
(22:51 +0200)
src/gallium/drivers/radeonsi/si_descriptors.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeonsi/si_descriptors.c
b/src/gallium/drivers/radeonsi/si_descriptors.c
index 5a7f5d911a09e53568a9ecece7e0a5aa621720b7..1e0c422fb4b39010a6685c56346dd86c8a92fe24 100644
(file)
--- a/
src/gallium/drivers/radeonsi/si_descriptors.c
+++ b/
src/gallium/drivers/radeonsi/si_descriptors.c
@@
-161,7
+161,7
@@
static bool si_ce_upload(struct si_context *sctx, unsigned ce_offset, unsigned s
size = align(size, cache_line_size);
(void)si_ce_ram_size; /* silence an "unused" warning */
- assert(offset + size <= si_ce_ram_size(sctx));
+ assert(
ce_
offset + size <= si_ce_ram_size(sctx));
u_suballocator_alloc(sctx->ce_suballocator, size, cache_line_size,
out_offset, (struct pipe_resource**)out_buf);