projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8440b13
)
vk/gem: VG_CLEAR the padding for the gem_mmap struct
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 18 May 2015 19:05:17 +0000
(12:05 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Mon, 18 May 2015 19:05:17 +0000
(12:05 -0700)
src/vulkan/gem.c
patch
|
blob
|
history
diff --git
a/src/vulkan/gem.c
b/src/vulkan/gem.c
index dd70f7c1cf7ff6ce7d28edeb10c35aaf12d51e0f..8598deedc71f08ca705aa3285cf094509d5fdc84 100644
(file)
--- a/
src/vulkan/gem.c
+++ b/
src/vulkan/gem.c
@@
-98,6
+98,7
@@
anv_gem_mmap(struct anv_device *device, uint32_t gem_handle,
int ret;
gem_mmap.handle = gem_handle;
+ VG_CLEAR(gem_mmap.pad);
gem_mmap.offset = offset;
gem_mmap.size = size;
VG_CLEAR(gem_mmap.addr_ptr);