projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bbf060
)
anv: Fix build without VALGRIND
author
Jordan Justen
<jordan.l.justen@intel.com>
Wed, 6 Jan 2016 18:27:57 +0000
(10:27 -0800)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Wed, 6 Jan 2016 23:54:51 +0000
(15:54 -0800)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
src/vulkan/anv_allocator.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_allocator.c
b/src/vulkan/anv_allocator.c
index e49a684aaefb96eb735f19c15dc73684e902edd3..4be149ea695aa783eb185a30a9d6aa5966d09006 100644
(file)
--- a/
src/vulkan/anv_allocator.c
+++ b/
src/vulkan/anv_allocator.c
@@
-740,7
+740,7
@@
anv_state_stream_alloc(struct anv_state_stream *stream,
uint32_t block = anv_block_pool_alloc(stream->block_pool);
sb = stream->block_pool->map + block;
- V
ALGRIND_MAKE_MEM_UNDEFINED(sb, sizeof(*sb
));
+ V
G(VALGRIND_MAKE_MEM_UNDEFINED(sb, sizeof(*sb)
));
sb->next = stream->block;
sb->offset = block;
VG(sb->_vg_ptr = NULL);