Vixen
dd8b0a81

IrComparisonSamplerType

class Raven/Vixen.Raven/IR/IrType.cs:377
csharp
public sealed class IrComparisonSamplerType

An opaque comparison sampler: the compare function a depth image is read through.

Read the guide page for this →

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)

Used by (7)

  • DepthTextureTestsVixen.Raven.Tests
  • GlslTypesVixen.Raven
  • LibraryIrDecoderVixen.Raven
  • LowererVixen.Raven
  • ReflectionBuilderVixen.Raven
  • SpirvEmitterVixen.Raven
  • SpirvTypesVixen.Raven