projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f90e56
)
vk/allocator: Remove an unneeded VG() wrapper
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 4 Jun 2015 16:12:37 +0000
(09:12 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 4 Jun 2015 16:14:33 +0000
(09:14 -0700)
src/vulkan/allocator.c
patch
|
blob
|
history
diff --git
a/src/vulkan/allocator.c
b/src/vulkan/allocator.c
index 950b23c857a9a1aa0c95eab682631b616a05ed39..027108695fdad692848c83e56400d5afbe448410 100644
(file)
--- a/
src/vulkan/allocator.c
+++ b/
src/vulkan/allocator.c
@@
-626,7
+626,7
@@
anv_state_stream_alloc(struct anv_state_stream *stream,
if (vg_ptr == NULL) {
vg_ptr = state.map;
VG_NOACCESS_WRITE(&sb->_vg_ptr, vg_ptr);
- V
G(VALGRIND_MALLOCLIKE_BLOCK(vg_ptr, size, 0, false)
);
+ V
ALGRIND_MALLOCLIKE_BLOCK(vg_ptr, size, 0, false
);
} else {
ptrdiff_t vg_offset = vg_ptr - current_map;
assert(vg_offset >= stream->current_block &&