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 Sep 9, 2024
1 parent 5e5eff3 commit d01e7ec
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 @@ -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:
Expand Down

0 comments on commit d01e7ec

Please sign in to comment.