vulkan: Fix for bug 13785.
Implement proposal in comment #3.
Agreed in June '15 Khronos face-to-face
diff --git a/icd/intel/cmd_meta.c b/icd/intel/cmd_meta.c
index 3f47654..eaa8c5e 100644
--- a/icd/intel/cmd_meta.c
+++ b/icd/intel/cmd_meta.c
@@ -149,9 +149,9 @@
info.channels.a = VK_CHANNEL_SWIZZLE_A;
info.subresourceRange.aspect = aspect;
info.subresourceRange.baseMipLevel = 0;
- info.subresourceRange.mipLevels = VK_LAST_MIP_OR_SLICE;
+ info.subresourceRange.mipLevels = VK_LAST_MIP_LEVEL;
info.subresourceRange.baseArraySlice = 0;
- info.subresourceRange.arraySize = VK_LAST_MIP_OR_SLICE;
+ info.subresourceRange.arraySize = VK_LAST_ARRAY_SLICE;
ret = intel_img_view_create(cmd->dev, &info, &view);
if (ret != VK_SUCCESS) {