mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-22 22:46:41 +00:00
Set number of samples to 1 at minimum, even if it was set to 0
This commit is contained in:
@@ -445,7 +445,7 @@ void VulkanCreationInfo::Image::Init(VulkanResourceManager *resourceMan, VulkanC
|
||||
extent = pCreateInfo->extent;
|
||||
arrayLayers = pCreateInfo->arrayLayers;
|
||||
mipLevels = pCreateInfo->mipLevels;
|
||||
samples = pCreateInfo->samples;
|
||||
samples = RDCMAX(VK_SAMPLE_COUNT_1_BIT, pCreateInfo->samples);
|
||||
|
||||
creationFlags = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user