summaryrefslogtreecommitdiff
path: root/vulkan/tests
AgeCommit message (Collapse)Author
2025-02-26Add tests for mutable swapchain code Tom Murphy
Add unit tests for the mutable swapchain extension Bug: 341978292 Flag: EXEMPT test Test: atest libvulkan_test Change-Id: I410a5b8c3d0dbe11ccfd2b54d4e4999a67360f07
2025-02-25Verify that vkGetPhysicalDeviceSurfaceFormats2KHR ignores ↵ Tom Murphy
VK_ERROR_FORMAT_NOT_SUPPORTED Verify that vkGetPhysicalDeviceSurfaceFormats2KHR properly ignores VK_ERROR_FORMAT_NOT_SUPPORTED and continues enumerating formats. Bug: 357903074 Test: atest libvulkan_test Flag: EXEMPT test Change-Id: If9195373dfabcaf7fd29151071bf2fc9a4827cee
2025-02-21Extract GPDIFP2 getProducerUsage path to seperate function Tom Murphy
Extracting the GPDIFP2 logic to its own function makes it easier to exit early from the GPDIFP2 path when we need to fall back to the GetSwapchainGrallocUsage*ANDROID path. This change also fixes an issue where we would exit getProducerUsage early instead of falling back to the gralloc paths if GPDIFP2 would return an error when called with an unsupported format. Bug: 379230826 Test: atest libvulkan_test Flag: EXEMPT bugfix Change-Id: I42f1fe31e5e4a01c472a12854a1f4e989d2786dc
2025-02-17Add boilerplate code for vulkan unit tests Tom Murphy
Vulkan unit tests require a basic vulkan application to run. This adds the boilerplate code for a simple vulkan application. Bug: 388189326 Flag: EXEMPT test Test: atest libvulkan_test Change-Id: I59e2240b4c34b39af9b7f5927cb23f0926e4cf8a