You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`ACCELERATION_STRUCTURE` is excluded from the list of types since slang by default uses the provided handle to a `RaytracingAccelerationStructure` as a GPU address into the respective `RaytracingAccelerationStructure`, casting the 64bit handle into the type.
607
+
Default behavior assigns binding-indicies based on descriptor types:
608
+
| Enum Value | Vulkan Descriptor Type | Binding Index |
> `ACCELERATION_STRUCTURE` is excluded from the list of types since Slang by default uses the handle to a `RaytracingAccelerationStructure` as a GPU address, casting the handle to a `RaytracingAccelerationStructure`. This removes the need for a binding-slot of `RaytracingAccelerationStructure`.
624
621
625
622
> #### Note
626
623
> The default implementation for SPIRV may change in the future if SPIRV is extended to provide what is
@@ -671,7 +668,7 @@ interface IOpaqueDescriptor
671
668
The user can call `defaultGetDescriptorFromHandle` function from their implementation of
672
669
`getDescriptorFromHandle` to dispatch to the default behavior.
673
670
674
-
Additionally, `defaultGetDescriptorFromHandle` has the parameter `constexpr BindlessDescriptorOptions bindlessOptions`. This parameter provides some alternative presets for how bindlessindexes are assigned (currently only relevant to SPIRV):
671
+
Additionally, `defaultGetDescriptorFromHandle()` takes an optional argument whose type is `constexpr BindlessDescriptorOptions`. This parameter allows to specify alternative standard presets for how bindless-indexes are assigned. Note that this is currently only relevant to SPIRV:
675
672
```slang
676
673
public enum BindlessDescriptorOptions
677
674
{
@@ -681,20 +678,17 @@ public enum BindlessDescriptorOptions
681
678
```
682
679
683
680
`VkMutable` provides the following bindings for descriptor types:
The `kind` and `descriptorAccess` constants allows user code to fetch resources from different locations depending on the type and access of the resource being requested. The `DescriptorKind` and
0 commit comments