Table of Contents

Class SpvReflectionVerifier

Namespace
ShadowDusk.Core.Reflection
Assembly
ShadowDusk.Core.dll

A placeholder that was meant to cross-check texture and sampler bind slots against a SPIR-V module. It was never implemented and always returns Empty.

[Obsolete("SpvReflectionVerifier is a no-op that always returns BindingSlotMap.Empty; nothing calls it. It will be removed in a future release (issue #429).")]
public sealed class SpvReflectionVerifier
Inheritance
SpvReflectionVerifier
Inherited Members

Remarks

Obsolete: nothing in ShadowDusk calls it, and it never checked anything. It will be removed in a future release (issue #429).

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

spirvBlob ReadOnlyMemory<byte>

A complete SPIR-V module.

ct CancellationToken

A cancellation token.

Returns

Result<BindingSlotMap, ShaderError>

Always Empty.