bug-14532: Rename VK_LAST_* to VK_REMAINING_*
https://cvs.khronos.org/bugzilla/show_bug.cgi?id=14532
diff --git a/icd/intel/cmd_meta.c b/icd/intel/cmd_meta.c
index e39a840..ce589c0 100644
--- a/icd/intel/cmd_meta.c
+++ b/icd/intel/cmd_meta.c
@@ -167,9 +167,9 @@
info.channels.a = VK_CHANNEL_SWIZZLE_A;
info.subresourceRange.aspect = aspect;
info.subresourceRange.baseMipLevel = 0;
- info.subresourceRange.mipLevels = VK_LAST_MIP_LEVEL;
+ info.subresourceRange.mipLevels = VK_REMAINING_MIP_LEVELS;
info.subresourceRange.baseArraySlice = 0;
- info.subresourceRange.arraySize = VK_LAST_ARRAY_SLICE;
+ info.subresourceRange.arraySize = VK_REMAINING_ARRAY_SLICES;
ret = intel_img_view_create(cmd->dev, &info, &view);
if (ret != VK_SUCCESS) {