projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7044a1
)
vk/meta: Fix buffer copy extents
author
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 20 May 2015 22:11:21 +0000
(15:11 -0700)
committer
Jason Ekstrand
<jason.ekstrand@intel.com>
Wed, 20 May 2015 23:20:04 +0000
(16:20 -0700)
src/vulkan/meta.c
patch
|
blob
|
history
diff --git
a/src/vulkan/meta.c
b/src/vulkan/meta.c
index 979655cb4823d7f3ab1705784de4a6c374fcb969..f1524f9db2808e6f023616fc36fadfc4250181be 100644
(file)
--- a/
src/vulkan/meta.c
+++ b/
src/vulkan/meta.c
@@
-711,10
+711,10
@@
void anv_CmdCopyBuffer(
meta_emit_blit(cmd_buffer,
&src_view,
(VkOffset3D) { 0, 0, 0 },
- (VkExtent3D) { pRegions[r].copySize,
0, 0
},
+ (VkExtent3D) { pRegions[r].copySize,
1, 1
},
&dest_view,
(VkOffset3D) { 0, 0, 0 },
- (VkExtent3D) { pRegions[r].copySize,
0, 0
});
+ (VkExtent3D) { pRegions[r].copySize,
1, 1
});
}
meta_finish_blit(cmd_buffer, &saved_state);