Skip to content

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

Open
@spencer-lunarg

Description

@spencer-lunarg

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions