From d01e7ecf13ef9bd4d9af3dc61b13ce683299d5ba Mon Sep 17 00:00:00 2001 From: Nathaniel Cesario Date: Thu, 5 Sep 2024 23:00:24 -0600 Subject: [PATCH] Disable sampler2DViewOf3D Sets VkPhysicalDeviceImage2DViewOf3DFeaturesEXT::sampler2DViewOf3D to false, as CTS tests involving 2D views of sampled 3D textures are not currently working. --- MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm b/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm index d71a63ffa..6f26e3043 100644 --- a/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm +++ b/MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm @@ -585,7 +585,10 @@ case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_IMAGE_2D_VIEW_OF_3D_FEATURES_EXT: { auto* extFeatures = (VkPhysicalDeviceImage2DViewOf3DFeaturesEXT*)next; extFeatures->image2DViewOf3D = true; - extFeatures->sampler2DViewOf3D = true; + + // TODO (ncesario-lunarg) Related CTS tests (e.g., dEQP-VK.pipeline.monolithic.image_2d_view_3d_image.compute.sampler.mip0_layer0) + // are failing with this enabled. + extFeatures->sampler2DViewOf3D = false; break; } default: