summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_meta.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-12-01 12:52:56 -0800
committerJason Ekstrand <[email protected]>2015-12-03 13:43:53 -0800
commit299f8f1511cfa2bfab77038ba28a90bcfc136a5d (patch)
tree67e52488e99500512716b3f3e33a98b29b9714d7 /src/vulkan/anv_meta.c
parent407b8cc5e0e0e0382b7a350480a7654fcb2a164f (diff)
vk/0.210.0: More structure field renaming
Diffstat (limited to 'src/vulkan/anv_meta.c')
-rw-r--r--src/vulkan/anv_meta.c44
1 files changed, 22 insertions, 22 deletions
diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c
index a2626a0f63e..419667a9f30 100644
--- a/src/vulkan/anv_meta.c
+++ b/src/vulkan/anv_meta.c
@@ -674,7 +674,7 @@ do_buffer_copy(struct anv_cmd_buffer *cmd_buffer,
.depth = 1,
},
.mipLevels = 1,
- .arraySize = 1,
+ .arrayLayers = 1,
.samples = 1,
.tiling = VK_IMAGE_TILING_LINEAR,
.usage = 0,
@@ -707,9 +707,9 @@ do_buffer_copy(struct anv_cmd_buffer *cmd_buffer,
.subresourceRange = {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = 0,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = 0,
- .arraySize = 1
+ .layerCount = 1
},
},
cmd_buffer);
@@ -724,9 +724,9 @@ do_buffer_copy(struct anv_cmd_buffer *cmd_buffer,
.subresourceRange = {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = 0,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = 0,
- .arraySize = 1,
+ .layerCount = 1,
},
},
cmd_buffer);
@@ -855,9 +855,9 @@ void anv_CmdCopyImage(
.subresourceRange = {
.aspectMask = pRegions[r].srcSubresource.aspectMask,
.baseMipLevel = pRegions[r].srcSubresource.mipLevel,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = pRegions[r].srcSubresource.baseArrayLayer,
- .arraySize = pRegions[r].dstSubresource.layerCount,
+ .layerCount = pRegions[r].dstSubresource.layerCount,
},
},
cmd_buffer);
@@ -899,9 +899,9 @@ void anv_CmdCopyImage(
.subresourceRange = {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = pRegions[r].dstSubresource.mipLevel,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = dest_base_array_slice + slice,
- .arraySize = 1
+ .layerCount = 1
},
},
cmd_buffer);
@@ -955,9 +955,9 @@ void anv_CmdBlitImage(
.subresourceRange = {
.aspectMask = pRegions[r].srcSubresource.aspectMask,
.baseMipLevel = pRegions[r].srcSubresource.mipLevel,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = pRegions[r].srcSubresource.baseArrayLayer,
- .arraySize = 1
+ .layerCount = 1
},
},
cmd_buffer);
@@ -989,9 +989,9 @@ void anv_CmdBlitImage(
.subresourceRange = {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = pRegions[r].dstSubresource.mipLevel,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = dest_array_slice,
- .arraySize = 1
+ .layerCount = 1
},
},
cmd_buffer);
@@ -1032,7 +1032,7 @@ make_image_for_buffer(VkDevice vk_device, VkBuffer vk_buffer, VkFormat format,
.format = format,
.extent = extent,
.mipLevels = 1,
- .arraySize = 1,
+ .arrayLayers = 1,
.samples = 1,
.tiling = VK_IMAGE_TILING_LINEAR,
.usage = usage,
@@ -1106,9 +1106,9 @@ void anv_CmdCopyBufferToImage(
.subresourceRange = {
.aspectMask = proxy_aspect,
.baseMipLevel = 0,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = 0,
- .arraySize = 1,
+ .layerCount = 1,
},
},
cmd_buffer);
@@ -1123,9 +1123,9 @@ void anv_CmdCopyBufferToImage(
.subresourceRange = {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = pRegions[r].imageSubresource.mipLevel,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = dest_base_array_slice + slice,
- .arraySize = 1
+ .layerCount = 1
},
},
cmd_buffer);
@@ -1194,9 +1194,9 @@ void anv_CmdCopyImageToBuffer(
.subresourceRange = {
.aspectMask = pRegions[r].imageSubresource.aspectMask,
.baseMipLevel = pRegions[r].imageSubresource.mipLevel,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = pRegions[r].imageSubresource.baseArrayLayer,
- .arraySize = pRegions[r].imageSubresource.layerCount,
+ .layerCount = pRegions[r].imageSubresource.layerCount,
},
},
cmd_buffer);
@@ -1234,9 +1234,9 @@ void anv_CmdCopyImageToBuffer(
.subresourceRange = {
.aspectMask = VK_IMAGE_ASPECT_COLOR_BIT,
.baseMipLevel = 0,
- .mipLevels = 1,
+ .levelCount = 1,
.baseArrayLayer = 0,
- .arraySize = 1
+ .layerCount = 1
},
},
cmd_buffer);