projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0516cf
)
anv/meta: fix UpdateBuffer in the case where we do multiple updates
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 20 Jan 2016 15:56:48 +0000
(07:56 -0800)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 20 Jan 2016 15:56:48 +0000
(07:56 -0800)
src/vulkan/anv_meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_meta.c
b/src/vulkan/anv_meta.c
index 3331d3abe08c9aa563a58e6d476bf358cf9ec739..9e13299e3a23d924d9bf0f6ca9207a877aff271b 100644
(file)
--- a/
src/vulkan/anv_meta.c
+++ b/
src/vulkan/anv_meta.c
@@
-920,6
+920,7
@@
void anv_CmdUpdateBuffer(
copy_size / bs, 1, format);
dataSize -= copy_size;
+ dstOffset += copy_size;
pData = (void *)pData + copy_size;
}
}