pub enum SemanticsErrorKind {
InvalidUniformBufferCount(usize),
InvalidPushBufferSize(u32),
InvalidLocation(u32),
InvalidDescriptorSet(u32),
InvalidInputCount(usize),
InvalidOutputCount(usize),
InvalidBinding(u32),
InvalidResourceType,
InvalidRange(u32),
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.
InvalidPushBufferSize(u32)
The number of push constant blocks was invalid. Only one push constant block is permitted.
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.
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.
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.