public enum StageBuiltInWhich pipeline-supplied value a stage parameter carries.
No guide page documents this yet — the page shows what the code says about itself.
Fields and properties (8)
NoneNot a built-in: an ordinary located input.
DispatchThreadIdThis invocation's position in the whole dispatch — the workgroup index times the workgroup size, plus the position within the group. The one nearly every compute shader wants.
GroupIdWhich workgroup this invocation is in.
GroupThreadIdThis invocation's position within its own workgroup.
GroupIndexThis invocation's position within its workgroup, flattened to a single index — the scalar form of GroupThreadId, and what indexes shared storage.
VertexIdWhich vertex is being shaded, counting from the draw's first index.
InstanceIdWhich instance is being drawn, counting from the draw's first instance.
IsFrontFaceWhether the triangle this fragment came from faces the viewer.
Used by (4)
- SpirvBuiltInsVixen.Raven
- StageBuiltInInfoVixen.Raven
- StageBuiltInTestsVixen.Raven.Tests
- StageBuiltInsVixen.Raven