.aspect = VK_IMAGE_ASPECT_COLOR,
.baseMipLevel = 0,
.mipLevels = 1,
- .baseArraySlice = 0,
+ .baseArrayLayer = 0,
.arraySize = 1
},
.viewType = VK_IMAGE_VIEW_TYPE_2D,
.aspect = VK_IMAGE_ASPECT_DEPTH,
.baseMipLevel = 0,
.mipLevels = 1,
- .baseArraySlice = 0,
+ .baseArrayLayer = 0,
.arraySize = 1
},
.flags = 0,
const VkImageSubresource subres = {
.aspect = VK_IMAGE_ASPECT_COLOR,
.mipLevel = 0,
- .arraySlice = 0,
+ .arrayLayer = 0,
};
VkSubresourceLayout layout;
void *data;
.aspect = VK_IMAGE_ASPECT_COLOR,
.baseMipLevel = 0,
.mipLevels = 1,
- .baseArraySlice = 0,
+ .baseArrayLayer = 0,
.arraySize = 1
},
.viewType = VK_IMAGE_VIEW_TYPE_2D,
.aspect = VK_IMAGE_ASPECT_DEPTH,
.baseMipLevel = 0,
.mipLevels = 1,
- .baseArraySlice = 0,
+ .baseArrayLayer = 0,
.arraySize = 1
},
.flags = 0,
const VkImageSubresource subres = {
.aspect = VK_IMAGE_ASPECT_COLOR,
.mipLevel = 0,
- .arraySlice = 0,
+ .arrayLayer = 0,
};
VkSubresourceLayout layout;
void *data;
#define VK_LOD_CLAMP_NONE 1000.0f
#define VK_REMAINING_MIP_LEVELS (~0U)
-#define VK_REMAINING_ARRAY_SLICES (~0U)
+#define VK_REMAINING_ARRAY_LAYERS (~0U)
#define VK_WHOLE_SIZE (~0ULL)
#define VK_ATTACHMENT_UNUSED (~0U)
#define VK_TRUE 1
typedef struct {
VkImageAspect aspect;
uint32_t mipLevel;
- uint32_t arraySlice;
+ uint32_t arrayLayer;
} VkImageSubresource;
typedef struct {
VkImageAspect aspect;
uint32_t baseMipLevel;
uint32_t mipLevels;
- uint32_t baseArraySlice;
+ uint32_t baseArrayLayer;
uint32_t arraySize;
} VkImageSubresourceRange;