Skip to content

Commit

Permalink
Merge pull request #1920 from billhollings/always-advertise-VK_KHR_de…
Browse files Browse the repository at this point in the history
…pth_stencil_resolve

Advertise VK_KHR_depth_stencil_resolve extension on all devices.
  • Loading branch information
billhollings authored May 24, 2023
2 parents 3d7f996 + b26ce32 commit 4c6bfbe
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions Docs/Whats_New.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Released 2023/05/23
- Populate `deviceLUID` from `MTLDevice.registryID`.
- Avoid Metal validation warning when depth component swizzled away.
- Fix depth clamp and texture swizzle feature discovery on simulator builds.
- Advertise `VK_KHR_depth_stencil_resolve` extension on all devices.
- For correctness, set `VkPhysicalDeviceLimits::lineWidthGranularity` to `1`.
- Improve GitHub CI production of binary artifacts on submission and release.
- Update dependency libraries to match _Vulkan SDK 1.3.250_.
Expand Down
5 changes: 0 additions & 5 deletions MoltenVK/MoltenVK/GPUObjects/MVKDevice.mm
Original file line number Diff line number Diff line change
Expand Up @@ -3050,11 +3050,6 @@ static uint32_t mvkGetEntryProperty(io_registry_entry_t entry, CFStringRef prope
MVKExtensionList* pWritableExtns = (MVKExtensionList*)&_supportedExtensions;
pWritableExtns->disableAllButEnabledDeviceExtensions();

#if MVK_IOS_OR_TVOS
if (!_metalFeatures.depthResolve) {
pWritableExtns->vk_KHR_depth_stencil_resolve.enabled = false;
}
#endif
if (!_metalFeatures.samplerMirrorClampToEdge) {
pWritableExtns->vk_KHR_sampler_mirror_clamp_to_edge.enabled = false;
}
Expand Down

0 comments on commit 4c6bfbe

Please sign in to comment.