csharp
public abstract class IrTypeA type in the target-independent IR. Deliberately much smaller than TypeSymbol: it holds only what every GPU target can represent, so a backend can switch on Kind exhaustively and anything unrepresentable is rejected during lowering rather than in the emitter.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (9)
public abstract IrTypeKind Kindpublic abstract string NameStable, target-neutral spelling used by the IR dump.
public bool IsVoidpublic bool IsScalarpublic bool IsIntegerWhether this is an integer scalar of either width and either signedness.
public bool IsUnsignedWhether this scalar is unsigned, which decides half of SPIR-V's integer opcodes.
public bool Is64BitWhether this scalar is 64 bits wide: eight bytes of layout, and a capability.
public bool IsNumericScalar, vector or matrix — the types arithmetic applies to.
public IrScalarType ComponentTypeThe scalar each lane holds; the type itself when it is scalar.
Methods (1)
public override string ToString()
Used by (48, showing 40)
- CompiledLibraryTestsVixen.Raven.Tests
- FunctionVerifierVixen.Raven
- GlslEmitterVixen.Raven
- GlslIntrinsicsVixen.Raven
- GlslTypesVixen.Raven
- ImportPrunerVixen.Raven
- IrAccelerationStructureTypeVixen.Raven
- IrAccessVixen.Raven
- IrArgumentVixen.Raven
- IrArrayTypeVixen.Raven
- IrBindingVixen.Raven
- IrCapabilitiesVixen.Raven
- IrFieldVixen.Raven
- IrFieldAccessVixen.Raven
- IrFunctionVixen.Raven
- IrIndexAccessVixen.Raven
- IrMatrixTypeVixen.Raven
- IrPermutationVixen.Raven
- IrPlaceVixen.Raven
- IrPrinterVixen.Raven
- IrSamplerTypeVixen.Raven
- IrScalarTypeVixen.Raven
- IrSharedVariableVixen.Raven
- IrStageIoVixen.Raven
- IrStorageImageTypeVixen.Raven
- IrStreamVixen.Raven
- IrStructTypeVixen.Raven
- IrSwizzleAccessVixen.Raven
- IrTextureTypeVixen.Raven
- IrValueVixen.Raven
- IrValueParameterVixen.Raven
- IrVariableVixen.Raven
- IrVectorTypeVixen.Raven
- LibraryIrDecoderVixen.Raven
- LibraryIrEncoderVixen.Raven
- LowererVixen.Raven
- LoweringTestsVixen.Raven.Tests
- MonomorphisationTestsVixen.Raven.Tests
- ReflectionBuilderVixen.Raven
- SampledTextureTestsVixen.Raven.Tests