From 2aa63d768c60ec56e9064a1e423b9380ba9ddb66 Mon Sep 17 00:00:00 2001 From: Tony Barbour Date: Thu, 25 Jun 2015 15:41:47 -0600 Subject: vulkan.h: V109 -- Remove minLod from VkImageViewCreateInfo --- demos/cube.c | 1 - demos/tri.c | 1 - icd/nulldrv/nulldrv.c | 1 - include/vulkan.h | 3 +-- 4 files changed, 1 insertion(+), 5 deletions(-) diff --git a/demos/cube.c b/demos/cube.c index eeb888f9..53ac17b1 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -1061,7 +1061,6 @@ static void demo_prepare_textures(struct demo *demo) VK_CHANNEL_SWIZZLE_B, VK_CHANNEL_SWIZZLE_A, }, .subresourceRange = { VK_IMAGE_ASPECT_COLOR, 0, 1, 0, 1 }, - .minLod = 0.0f, }; /* create sampler */ diff --git a/demos/tri.c b/demos/tri.c index 49e323be..2f4ca97b 100644 --- a/demos/tri.c +++ b/demos/tri.c @@ -700,7 +700,6 @@ static void demo_prepare_textures(struct demo *demo) VK_CHANNEL_SWIZZLE_B, VK_CHANNEL_SWIZZLE_A, }, .subresourceRange = { VK_IMAGE_ASPECT_COLOR, 0, 1, 0, 1 }, - .minLod = 0.0f, }; /* create sampler */ diff --git a/icd/nulldrv/nulldrv.c b/icd/nulldrv/nulldrv.c index 599e84c4..32e0dcac 100644 --- a/icd/nulldrv/nulldrv.c +++ b/icd/nulldrv/nulldrv.c @@ -395,7 +395,6 @@ static VkResult nulldrv_img_view_create(struct nulldrv_dev *dev, return VK_ERROR_OUT_OF_HOST_MEMORY; view->img = img; - view->min_lod = info->minLod; view->cmd_len = 8; diff --git a/include/vulkan.h b/include/vulkan.h index ab03c59d..ba448b4d 100644 --- a/include/vulkan.h +++ b/include/vulkan.h @@ -33,7 +33,7 @@ #include "vk_platform.h" // Vulkan API version supported by this file -#define VK_API_VERSION VK_MAKE_VERSION(0, 108, 0) +#define VK_API_VERSION VK_MAKE_VERSION(0, 109, 0) #ifdef __cplusplus extern "C" @@ -1491,7 +1491,6 @@ typedef struct VkImageViewCreateInfo_ VkFormat format; VkChannelMapping channels; VkImageSubresourceRange subresourceRange; - float minLod; } VkImageViewCreateInfo; typedef struct VkColorAttachmentViewCreateInfo_ -- cgit v1.2.3