Vulkan-Profiles icon indicating copy to clipboard operation
Vulkan-Profiles copied to clipboard

vkGetPhysicalDevice*Properties functions don't have a way to return anything

Open spencer-lunarg opened this issue 2 years ago • 0 comments

some functions such as vkGetPhysicalDeviceImageFormatProperties or vkGetPhysicalDeviceMultisamplePropertiesEXT don't have a way for the Profiles system to capture and return back a value

Example:

the VkPhysicalDeviceSampleLocationsPropertiesEXT is the "minimum value" , so for example VkPhysicalDeviceSampleLocationsPropertiesEXT::maxSampleLocationGridSize might be (2, 2) which means it is that for all sample counts, but using the function you may find that the VK_SAMPLE_COUNT_8_BIT actually supports a VkMultisamplePropertiesEXT::maxSampleLocationGridSize up to (4, 4)

Use Case:

Currently the desired use case for this is the Validation Layers testing to be able to simulate this aspect of a driver, for now it might be a better solution to add this logic in the MockICD driver instead, but opening issue for future discussions/considerations

spencer-lunarg avatar Jan 16 '23 12:01 spencer-lunarg