summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_image.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-10-06 10:27:50 -0700
committerJason Ekstrand <[email protected]>2015-10-06 14:08:08 -0700
commit1e4263b7d2e3d6f88527510eaaf6ca6df2ce4058 (patch)
treef490225077902ec825e231f3405c7a359b3d7432 /src/vulkan/anv_image.c
parentd4446a7e58e4c57da68432ed108320936a910e5d (diff)
vk/0.170.2: s/baseArraySlice/baseArrayLayer/
Diffstat (limited to 'src/vulkan/anv_image.c')
-rw-r--r--src/vulkan/anv_image.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c
index 8eb5a603c2b..f0620e4d67e 100644
--- a/src/vulkan/anv_image.c
+++ b/src/vulkan/anv_image.c
@@ -411,12 +411,12 @@ anv_validate_CreateImageView(VkDevice _device,
assert(subresource->arraySize > 0);
assert(subresource->baseMipLevel < image->levels);
assert(subresource->baseMipLevel + subresource->mipLevels <= image->levels);
- assert(subresource->baseArraySlice < image->array_size);
- assert(subresource->baseArraySlice + subresource->arraySize <= image->array_size);
+ assert(subresource->baseArrayLayer < image->array_size);
+ assert(subresource->baseArrayLayer + subresource->arraySize <= image->array_size);
assert(pView);
if (view_info->is_cube) {
- assert(subresource->baseArraySlice % 6 == 0);
+ assert(subresource->baseArrayLayer % 6 == 0);
assert(subresource->arraySize % 6 == 0);
}