summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/user-guide/a2-01-spirv-target-specific.md3
-rw-r--r--docs/user-guide/a2-02-metal-target-specific.md2
2 files changed, 4 insertions, 1 deletions
diff --git a/docs/user-guide/a2-01-spirv-target-specific.md b/docs/user-guide/a2-01-spirv-target-specific.md
index d37f41a5e..6d73199e0 100644
--- a/docs/user-guide/a2-01-spirv-target-specific.md
+++ b/docs/user-guide/a2-01-spirv-target-specific.md
@@ -62,6 +62,7 @@ The system-value semantics are translated to the following SPIR-V code.
| `SV_IsFrontFace` | `BuiltIn FrontFacing` |
| `SV_OutputControlPointID` | `BuiltIn InvocationId` |
| `SV_PointSize`<sup>*</sup> | `BuiltIn PointSize` |
+| `SV_PointCoord`<sup>*</sup> | `BuiltIn PointCoord` |
| `SV_Position` | `BuiltIn Position/FragCoord` |
| `SV_PrimitiveID` | `BuiltIn PrimitiveId` |
| `SV_RenderTargetArrayIndex` | `BuiltIn Layer` |
@@ -76,7 +77,7 @@ The system-value semantics are translated to the following SPIR-V code.
| `SV_ViewID` | `BuiltIn ViewIndex` |
| `SV_ViewportArrayIndex` | `BuiltIn ViewportIndex` |
-*Note* that `SV_DrawIndex` and `SV_PointSize` are Slang-specific semantics that are not defined in HLSL.
+*Note* that `SV_DrawIndex`, `SV_PointSize` and `SV_PointCoord` are Slang-specific semantics that are not defined in HLSL.
Behavior of `discard` after SPIR-V 1.6
diff --git a/docs/user-guide/a2-02-metal-target-specific.md b/docs/user-guide/a2-02-metal-target-specific.md
index bbcf28005..b14a4889e 100644
--- a/docs/user-guide/a2-02-metal-target-specific.md
+++ b/docs/user-guide/a2-02-metal-target-specific.md
@@ -34,6 +34,8 @@ The system-value semantics are translated to the following Metal attributes:
| `SV_GroupIndex` | Calculated from `SV_GroupThreadID` and group extents |
| `SV_InstanceID` | `[[instance_id]]` |
| `SV_IsFrontFace` | `[[front_facing]]` |
+| `SV_PointSize` | `[[point_size]]` |
+| `SV_PointCoord` | `[[point_coord]]` |
| `SV_PrimitiveID` | `[[primitive_id]]` |
| `SV_RenderTargetArrayIndex` | `[[render_target_array_index]]` |
| `SV_SampleIndex` | `[[sample_id]]` |