mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-24 22:55:41 +00:00
Add stencil reference as a supported shader builtin
This commit is contained in:
@@ -518,6 +518,7 @@ std::string DoStringise(const ShaderBuiltin &el)
|
||||
STRINGISE_ENUM_CLASS_NAMED(DepthOutput, "Depth Output");
|
||||
STRINGISE_ENUM_CLASS_NAMED(DepthOutputGreaterEqual, "Depth Output (GEqual)");
|
||||
STRINGISE_ENUM_CLASS_NAMED(DepthOutputLessEqual, "Depth Output (LEqual)");
|
||||
STRINGISE_ENUM_CLASS_NAMED(StencilReference, "Stencil Ref Value");
|
||||
}
|
||||
END_ENUM_STRINGISE();
|
||||
}
|
||||
|
||||
@@ -744,6 +744,10 @@ to apply to multiple related things - see :data:`ClipDistance`, :data:`CullDista
|
||||
|
||||
For indirect or multi-draw commands, the index of this draw call within the overall draw command.
|
||||
|
||||
.. data:: StencilReference
|
||||
|
||||
The stencil reference to be used for stenciling operations on this fragment.
|
||||
|
||||
)");
|
||||
enum class ShaderBuiltin : uint32_t
|
||||
{
|
||||
@@ -780,6 +784,7 @@ enum class ShaderBuiltin : uint32_t
|
||||
BaseVertex,
|
||||
BaseInstance,
|
||||
DrawIndex,
|
||||
StencilReference,
|
||||
Count,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user