forked from MoonsideGames/Refresh
fix empty compute image descriptor set creation
parent
52d06f9f6c
commit
952cf974b4
|
@ -9256,7 +9256,7 @@ static Refresh_Device* VULKAN_INTERNAL_CreateDevice(
|
||||||
);
|
);
|
||||||
|
|
||||||
emptyComputeImageDescriptorSetLayoutBinding.binding = 0;
|
emptyComputeImageDescriptorSetLayoutBinding.binding = 0;
|
||||||
emptyComputeImageDescriptorSetLayoutBinding.descriptorCount = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE;
|
emptyComputeImageDescriptorSetLayoutBinding.descriptorType = VK_DESCRIPTOR_TYPE_STORAGE_IMAGE;
|
||||||
emptyComputeImageDescriptorSetLayoutBinding.descriptorCount = 0;
|
emptyComputeImageDescriptorSetLayoutBinding.descriptorCount = 0;
|
||||||
emptyComputeImageDescriptorSetLayoutBinding.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT;
|
emptyComputeImageDescriptorSetLayoutBinding.stageFlags = VK_SHADER_STAGE_COMPUTE_BIT;
|
||||||
emptyComputeImageDescriptorSetLayoutBinding.pImmutableSamplers = NULL;
|
emptyComputeImageDescriptorSetLayoutBinding.pImmutableSamplers = NULL;
|
||||||
|
|
|
@ -64,7 +64,7 @@
|
||||||
<PreprocessorDefinitions>REFRESH_DRIVER_VULKAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
<PreprocessorDefinitions>REFRESH_DRIVER_VULKAN;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>DebugFull</GenerateDebugInformation>
|
||||||
<AdditionalDependencies>SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
<AdditionalDependencies>SDL2.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||||
</Link>
|
</Link>
|
||||||
</ItemDefinitionGroup>
|
</ItemDefinitionGroup>
|
||||||
|
|
Loading…
Reference in New Issue