From 952cf974b4f2166882b33bb5d3d0e9362e868ab8 Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sun, 31 Jan 2021 14:30:16 -0800 Subject: [PATCH] fix empty compute image descriptor set creation --- src/Refresh_Driver_Vulkan.c | 2 +- visualc/Refresh.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Refresh_Driver_Vulkan.c b/src/Refresh_Driver_Vulkan.c index 9f75c7d..837d876 100644 --- a/src/Refresh_Driver_Vulkan.c +++ b/src/Refresh_Driver_Vulkan.c @@ -9256,7 +9256,7 @@ static Refresh_Device* VULKAN_INTERNAL_CreateDevice( ); emptyComputeImageDescriptorSetLayoutBinding.binding = 0; - emptyComputeImageDescriptorSetLayoutBinding.descriptorCount = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; + emptyComputeImageDescriptorSetLayoutBinding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE; emptyComputeImageDescriptorSetLayoutBinding.descriptorCount = 0; emptyComputeImageDescriptorSetLayoutBinding.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT; emptyComputeImageDescriptorSetLayoutBinding.pImmutableSamplers = NULL; diff --git a/visualc/Refresh.vcxproj b/visualc/Refresh.vcxproj index d84afff..d73b03c 100644 --- a/visualc/Refresh.vcxproj +++ b/visualc/Refresh.vcxproj @@ -64,7 +64,7 @@ REFRESH_DRIVER_VULKAN;%(PreprocessorDefinitions) - true + DebugFull SDL2.lib;%(AdditionalDependencies)