From c9e9efaaf064dc0a3d3a538506f5f0f47de9b674 Mon Sep 17 00:00:00 2001 From: ArielG-NV <159081215+ArielG-NV@users.noreply.github.com> Date: Tue, 27 May 2025 18:31:25 -0700 Subject: Change default descriptor binding to be VkMutable (#7224) * change default descriptor binding to be VkMutable --- source/slang/hlsl.meta.slang | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source') diff --git a/source/slang/hlsl.meta.slang b/source/slang/hlsl.meta.slang index 9b15392ec..801c61481 100644 --- a/source/slang/hlsl.meta.slang +++ b/source/slang/hlsl.meta.slang @@ -22749,14 +22749,14 @@ T __castDescriptorHandleToResource(DescriptorHandle ptr) public enum BindlessDescriptorOptions { - None = 0, /// Bind assuming regular binding model rules. - VkMutable = 1, /// Bind assuming `VK_EXT_mutable_descriptor_type` without mutable `AccelerationStructure` binding support. + None = 0, /// Bind assuming regular binding model rules. + VkMutable = 1, /// **Current Default** Bind assuming `VK_EXT_mutable_descriptor_type` } /// The default implementation of `getDescriptorFromHandle`, which converts from a descriptor handle /// to a descriptor object. [ForceInline] -T defaultGetDescriptorFromHandle(DescriptorHandle handleValue, constexpr BindlessDescriptorOptions bindlessOptions = BindlessDescriptorOptions.None) +T defaultGetDescriptorFromHandle(DescriptorHandle handleValue, constexpr BindlessDescriptorOptions bindlessOptions = BindlessDescriptorOptions.VkMutable) { __target_switch { -- cgit v1.2.3