vk/vulkan.h: Add packing parameters to BufferImageCopy

This commit is contained in:
Jason Ekstrand
2015-07-08 11:51:12 -07:00
parent b4ef7f354b
commit aae45ab583
2 changed files with 12 additions and 0 deletions
+10
View File
@@ -995,6 +995,11 @@ void anv_CmdCopyBufferToImage(
meta_prepare_blit(cmd_buffer, &saved_state);
for (unsigned r = 0; r < regionCount; r++) {
if (pRegions[r].bufferRowLength != 0)
anv_finishme("bufferRowLength not supported in CopyBufferToImage");
if (pRegions[r].bufferImageHeight != 0)
anv_finishme("bufferImageHeight not supported in CopyBufferToImage");
struct anv_image *src_image;
anv_CreateImage(vk_device,
&(VkImageCreateInfo) {
@@ -1087,6 +1092,11 @@ void anv_CmdCopyImageToBuffer(
meta_prepare_blit(cmd_buffer, &saved_state);
for (unsigned r = 0; r < regionCount; r++) {
if (pRegions[r].bufferRowLength != 0)
anv_finishme("bufferRowLength not supported in CopyBufferToImage");
if (pRegions[r].bufferImageHeight != 0)
anv_finishme("bufferImageHeight not supported in CopyBufferToImage");
struct anv_surface_view src_view;
anv_image_view_init(&src_view, cmd_buffer->device,
&(VkImageViewCreateInfo) {