summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorArielG-NV <159081215+ArielG-NV@users.noreply.github.com>2025-05-27 18:31:25 -0700
committerGitHub <noreply@github.com>2025-05-28 01:31:25 +0000
commitc9e9efaaf064dc0a3d3a538506f5f0f47de9b674 (patch)
tree565ce3c55d2e24861bd20cab13b3e747a7a45185 /source
parent3a9f189c6a087cb3a58bed2f81543ceb26e62b0e (diff)
Change default descriptor binding to be VkMutable (#7224)
* change default descriptor binding to be VkMutable
Diffstat (limited to 'source')
-rw-r--r--source/slang/hlsl.meta.slang6
1 files changed, 3 insertions, 3 deletions
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<T:IOpaqueDescriptor>(DescriptorHandle<T> 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<T:IOpaqueDescriptor>(DescriptorHandle<T> handleValue, constexpr BindlessDescriptorOptions bindlessOptions = BindlessDescriptorOptions.None)
+T defaultGetDescriptorFromHandle<T:IOpaqueDescriptor>(DescriptorHandle<T> handleValue, constexpr BindlessDescriptorOptions bindlessOptions = BindlessDescriptorOptions.VkMutable)
{
__target_switch
{