Add missing documentation strings

This commit is contained in:
baldurk
2023-11-17 01:43:19 +00:00
parent d171cdb1c6
commit 3976bba298
2 changed files with 18 additions and 0 deletions
+2
View File
@@ -42,6 +42,7 @@ struct TaskGroupSize
DOCUMENT("The size in the z dimension.");
uint32_t z;
DOCUMENT("");
bool operator==(const TaskGroupSize &o) const { return x == o.x && y == o.y && z == o.z; }
bool operator<(const TaskGroupSize &o) const
{
@@ -68,6 +69,7 @@ of indices.
)");
uint32_t numVertices;
DOCUMENT("");
bool operator==(const MeshletSize &o) const
{
return numIndices == o.numIndices && numVertices == o.numVertices;
+16
View File
@@ -4495,6 +4495,22 @@ DOCUMENT(R"(A set of flags for ``ShaderStage`` stages
The flag for :data:`ShaderStage.Compute`.
.. data:: Compute
The flag for :data:`ShaderStage.Compute`.
.. data:: Task
The flag for :data:`ShaderStage.Task`.
.. data:: Amplification
The flag for :data:`ShaderStage.Amplification`.
.. data:: Mesh
The flag for :data:`ShaderStage.Mesh`.
.. data:: All
A shorthand version with flags set for all stages together.