Class SpvReflectionVerifier
- Namespace
- ShadowDusk.Core.Reflection
- Assembly
- ShadowDusk.Core.dll
Cross-checks texture and sampler bind slots against a SPIR-V module, producing a BindingSlotMap. The SPIRV-Cross-backed verification is not yet implemented; the current implementation returns Empty so the reflection pipeline can still run for DXIL-only use cases.
public sealed class SpvReflectionVerifier
- Inheritance
-
SpvReflectionVerifier
- Inherited Members
Methods
GetBindings(ReadOnlyMemory<byte>, CancellationToken)
Extracts the texture/sampler binding slots from a SPIR-V module.
public Result<BindingSlotMap, ShaderError> GetBindings(ReadOnlyMemory<byte> spirvBlob, CancellationToken ct = default)
Parameters
spirvBlobReadOnlyMemory<byte>A complete SPIR-V module.
ctCancellationTokenA cancellation token.
Returns
- Result<BindingSlotMap, ShaderError>
A BindingSlotMap; currently always Empty until SPIRV-Cross verification lands.