projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8365c5
)
vk/private.h: Handle a NULL bo but valid offset in __gen_combine_address
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 27 Aug 2015 00:58:22 +0000
(17:58 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Thu, 27 Aug 2015 17:25:58 +0000
(10:25 -0700)
src/vulkan/anv_private.h
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_private.h
b/src/vulkan/anv_private.h
index cb8defd23b6ca5ebcb0d4f2061178b3bb0a21b68..05799276718fb4daa7973a9373b65bb83832a350 100644
(file)
--- a/
src/vulkan/anv_private.h
+++ b/
src/vulkan/anv_private.h
@@
-505,7
+505,7
@@
__gen_combine_address(struct anv_batch *batch, void *location,
const struct anv_address address, uint32_t delta)
{
if (address.bo == NULL) {
- return delta;
+ return
address.offset +
delta;
} else {
assert(batch->start <= location && location < batch->end);