KhronosGroup / KhronosGroup/Vulkan-Utility-Libraries
Improve 01526 message when sampleLocationsPerPixel is 0
Open
enhancement
- Dominant language
- C++
- Stars
- 103
- Forks
- 49
- Avg merge
- 7h 15m
- Merged PRs (30d)
- 4
Description
If `VkSampleLocationsInfoEXT::sampleLocationsPerPixel` is 0, the validation layers message will say `Unhandled VkSampleCountFlagBits`
Full message is:
> vkCmdSetSampleLocationsEXT(): pSampleLocationsInfo->sampleLocationsPerPixel is Unhandled VkSampleCountFlagBits, but VkPhysicalDeviceSampleLocationsPropertiesEXT::sampleLocationSampleCounts is VK_SAMPLE_COUNT_1_BIT|VK_SAMPLE_COUNT_2_BIT|VK_SAMPLE_COUNT_4_BIT|VK_SAMPLE_COUNT_8_BIT|VK_SAMPLE_COUNT_16_BIT.
We should have a way to print the invalid value in `string_VkSampleCountFlagBits`
Contributor guide
Assessment
This issue has not been assessed yet.