csharp
public sealed class IrComparisonSamplerTypeAn opaque comparison sampler: the compare function a depth image is read through.
Remarks
⚠ In SPIR-V this is the same OpTypeSampler as IrSamplerType — the comparison lives on the instruction, OpImageSampleDref*, and on the sampler object the host created. It is a distinct type here because GLSL and WebGPU both spell it separately, and because the pairing rule — a depth image takes this and a colour image does not — is worth a compile error rather than a validation-layer message.
Fields and properties (3)
public static readonly IrComparisonSamplerType Instancepublic override IrTypeKind Kindpublic override string Name
Used by (7)
- DepthTextureTestsVixen.Raven.Tests
- GlslTypesVixen.Raven
- LibraryIrDecoderVixen.Raven
- LowererVixen.Raven
- ReflectionBuilderVixen.Raven
- SpirvEmitterVixen.Raven
- SpirvTypesVixen.Raven