Skip to content

Commit

Permalink
Disable sampler2DViewOf3D
Browse files Browse the repository at this point in the history
Sets VkPhysicalDeviceImage2DViewOf3DFeaturesEXT::sampler2DViewOf3D to
false, as CTS tests involving 2D views of sampled 3D textures are not
currently working.
  • Loading branch information
ncesario-lunarg committed Oct 31, 2024
1 parent f3098e1 commit 962c94f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,10 @@
if (getMVKConfig().enable2DViewOf3D) {
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;
}
Expand Down

0 comments on commit 962c94f

Please sign in to comment.