public enum StageBuiltInWhich pipeline-supplied value a stage parameter carries.
Fields and properties (9)
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.
FragmentPositionWhere this fragment is on the render target, in pixels, with the depth and 1/w behind it.
IsFrontFaceWhether the triangle this fragment came from faces the viewer.
Used by (4)
- SpirvBuiltInsVixen.Raven
- StageBuiltInInfoVixen.Raven
- StageBuiltInTestsVixen.Raven.Tests
- StageBuiltInsVixen.Raven