pub enum SemanticsErrorKind {
Show 14 variants
InvalidUniformBufferCount(usize),
InvalidPushBufferCount(usize),
InvalidPushBufferSize(u32),
InvalidLocation(u32),
InvalidDescriptorSet(u32),
InvalidInputCount(usize),
InvalidOutputCount(usize),
MissingBinding,
InvalidBinding(u32),
InvalidResourceType,
InvalidRange(u32),
InvalidEntryPointCount(usize),
UnknownSemantics(String),
InvalidTypeForSemantic(String),
}Expand description
The error kind encountered when reflecting shader semantics.
Variants§
InvalidUniformBufferCount(usize)
The number of uniform buffers was invalid. Only one UBO is permitted.
InvalidPushBufferCount(usize)
The number of push constant blocks was invalid. Only one push constant block is permitted.
InvalidPushBufferSize(u32)
The size of the push constant block was invalid.
InvalidLocation(u32)
The location of a varying was invalid.
InvalidDescriptorSet(u32)
The requested descriptor set was invalid. Only descriptor set 0 is available.
InvalidInputCount(usize)
The number of inputs to the shader was invalid.
InvalidOutputCount(usize)
The number of outputs declared was invalid.
MissingBinding
Expected a binding but there was none.
InvalidBinding(u32)
The declared binding point was invalid.
InvalidResourceType
The declared resource type was invalid.
InvalidRange(u32)
The range of a struct member was invalid.
InvalidEntryPointCount(usize)
The number of entry points in the shader was invalid.
UnknownSemantics(String)
The requested uniform or texture name was not provided semantics.
InvalidTypeForSemantic(String)
The type of the requested uniform was not compatible with the provided semantics.