From a883f65ab69562c31e8d4bea9ee803b2c6db7f95 Mon Sep 17 00:00:00 2001 From: Jason Macnak Date: Wed, 24 Jul 2024 10:02:05 -0700 Subject: [PATCH] Disable device groups ... by silo'ing each physical device in its own device group. This unblocks dEQP VK testing until the mesa layer has codegen to fully translate structs in pNext chains. Reviewed-by: Aaron Ruby Acked-by: Yonggang Luo Acked-by: Adam Jackson Part-of: --- src/gfxstream/codegen/scripts/cereal/decoder.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gfxstream/codegen/scripts/cereal/decoder.py b/src/gfxstream/codegen/scripts/cereal/decoder.py index b8d0ca87982..640ac78f850 100644 --- a/src/gfxstream/codegen/scripts/cereal/decoder.py +++ b/src/gfxstream/codegen/scripts/cereal/decoder.py @@ -789,6 +789,10 @@ custom_decodes = { "vkCmdCopyBufferToImage2KHR" : emit_global_state_wrapped_decoding_with_context, "vkCmdCopyImage2KHR" : emit_global_state_wrapped_decoding, "vkCmdCopyImageToBuffer2KHR" : emit_global_state_wrapped_decoding, + + # VK_KHR_device_group_creation / VK_VERSION_1_1 + "vkEnumeratePhysicalDeviceGroups" : emit_global_state_wrapped_decoding, + "vkEnumeratePhysicalDeviceGroupsKHR" : emit_global_state_wrapped_decoding, } class VulkanDecoder(VulkanWrapperGenerator):