KhronosGroup / KhronosGroup/Vulkan-Utility-Libraries

Improve 01526 message when sampleLocationsPerPixel is 0

Open
#306 4 comments 0 reactions 1 assignee Claimed by @spencer-lunarg View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.