Skip to content

Commit 2a4f156

Browse files
committed
work on availability.
1 parent 9dc894b commit 2a4f156

File tree

638 files changed

+11481
-852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

638 files changed

+11481
-852
lines changed

docs/stdlib-reference/global-decls/AcceptHitAndEndSearch.md

+16
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,21 @@ layout: stdlib-reference
88

99
<pre>
1010
void AcceptHitAndEndSearch();
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in `anyhit` stage only.
20+
* glsl
21+
* available in `anyhit` stage only.
22+
* cuda
23+
* available in `anyhit` stage only.
24+
* spirv
25+
* available in `anyhit` stage only.
26+
* requires capability: `spvRayTracingKHR`.
27+
28+

docs/stdlib-reference/global-decls/AllMemoryBarrier.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,24 @@ layout: stdlib-reference
88

99
<pre>
1010
void AllMemoryBarrier();
11+
1112
</pre>
1213

13-
## Availability
14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cuda
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* metal
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
* wgsl
27+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
28+
* spirv
29+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
1430

15-
**GLSL** `GL_KHR_memory_scope_semantics` **HLSL**
1631

docs/stdlib-reference/global-decls/AllMemoryBarrierWithGroupSync.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,24 @@ layout: stdlib-reference
88

99
<pre>
1010
void AllMemoryBarrierWithGroupSync();
11+
1112
</pre>
1213

13-
## Availability
14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cuda
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* metal
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
* wgsl
27+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
28+
* spirv
29+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
1430

15-
**GLSL** `GL_KHR_memory_scope_semantics` **HLSL**
1631

docs/stdlib-reference/global-decls/AllMemoryBarrierWithWaveMaskSync.md

+15
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,23 @@ layout: stdlib-reference
88

99
<pre>
1010
void AllMemoryBarrierWithWaveMaskSync(uint mask);
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cuda
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* spirv
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
27+
1328
## Parameters
1429

1530
* `mask`

docs/stdlib-reference/global-decls/AllMemoryBarrierWithWaveSync.md

+15
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,20 @@ layout: stdlib-reference
88

99
<pre>
1010
void AllMemoryBarrierWithWaveSync();
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cuda
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* spirv
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
27+

docs/stdlib-reference/global-decls/CallShader.md

+14
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,22 @@ layout: stdlib-reference
1010
void CallShader&lt;Payload&gt;(
1111
uint shaderIndex,
1212
inoutPayload payload);
13+
1314
</pre>
1415

16+
## Availability and Requirements
17+
18+
Defined for the following targets:
19+
20+
* hlsl
21+
* available in stages: `closesthit`, `raygen`, `miss`, `callable`.
22+
* glsl
23+
* available in stages: `closesthit`, `raygen`, `miss`, `callable`.
24+
* spirv
25+
* available in stages: `closesthit`, `raygen`, `miss`, `callable`.
26+
* requires capability: `spvRayTracingKHR`.
27+
28+
1529
## Parameters
1630

1731
* `Payload`

docs/stdlib-reference/global-decls/CheckAccessFullyMapped.md

+9
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,17 @@ layout: stdlib-reference
88

99
<pre>
1010
bool CheckAccessFullyMapped(outuint status);
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
21+
1322
## Parameters
1423

1524
* `status`

docs/stdlib-reference/global-decls/D3DCOLORtoUBYTE4.md

+21
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,29 @@ layout: stdlib-reference
88

99
<pre>
1010
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;int,4&gt; D3DCOLORtoUBYTE4(<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;float,4&gt; color);
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cpp
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* cuda
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
* metal
27+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
28+
* wgsl
29+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
30+
* spirv
31+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
32+
33+
1334
## Parameters
1435

1536
* `color`

docs/stdlib-reference/global-decls/DeviceMemoryBarrier.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,24 @@ layout: stdlib-reference
88

99
<pre>
1010
void DeviceMemoryBarrier();
11+
1112
</pre>
1213

13-
## Availability
14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cuda
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* metal
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
* wgsl
27+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
28+
* spirv
29+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
1430

15-
**GLSL** `GL_KHR_memory_scope_semantics` **HLSL**
1631

docs/stdlib-reference/global-decls/DeviceMemoryBarrierWithGroupSync.md

+17-2
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,24 @@ layout: stdlib-reference
88

99
<pre>
1010
void DeviceMemoryBarrierWithGroupSync();
11+
1112
</pre>
1213

13-
## Availability
14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
20+
* glsl
21+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
22+
* cuda
23+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
24+
* metal
25+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
26+
* wgsl
27+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
28+
* spirv
29+
* available in stages: `vertex`, `fragment`, `compute`, `hull`, `domain`, `geometry`, `raygen`, `intersection`, `anyhit`, `closesthit`, `callable`, `miss`, `mesh`, `amplification`.
1430

15-
**GLSL** `GL_KHR_memory_scope_semantics` **HLSL**
1631

docs/stdlib-reference/global-decls/DispatchMesh.md

+16
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,24 @@ void DispatchMesh&lt;P&gt;(
1212
uint threadGroupCountY,
1313
uint threadGroupCountZ,
1414
P meshPayload);
15+
1516
</pre>
1617

18+
## Availability and Requirements
19+
20+
Defined for the following targets:
21+
22+
* hlsl
23+
* available in stages: `amplification`, `mesh`.
24+
* glsl
25+
* available in stages: `amplification`, `mesh`.
26+
* metal
27+
* available in stages: `amplification`, `mesh`.
28+
* spirv
29+
* available in stages: `amplification`, `mesh`.
30+
* requires capability: `spvMeshShadingEXT`.
31+
32+
1733
## Parameters
1834

1935
* `P`

docs/stdlib-reference/global-decls/DispatchRaysDimensions.md

+16
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,21 @@ layout: stdlib-reference
88

99
<pre>
1010
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;uint,3&gt; DispatchRaysDimensions();
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
20+
* glsl
21+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
22+
* cuda
23+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
24+
* spirv
25+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
26+
* requires capability: `spvRayTracingKHR`.
27+
28+

docs/stdlib-reference/global-decls/DispatchRaysIndex.md

+16
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,21 @@ layout: stdlib-reference
88

99
<pre>
1010
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;uint,3&gt; DispatchRaysIndex();
11+
1112
</pre>
1213

14+
## Availability and Requirements
15+
16+
Defined for the following targets:
17+
18+
* hlsl
19+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
20+
* glsl
21+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
22+
* cuda
23+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
24+
* spirv
25+
* available in stages: `raygen`, `intersection`, `miss`, `callable`, `closesthit`, `anyhit`.
26+
* requires capability: `spvRayTracingKHR`.
27+
28+

docs/stdlib-reference/global-decls/EvaluateAttributeAtCentroid.md

+14
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,24 @@ layout: stdlib-reference
88

99
<pre>
1010
T EvaluateAttributeAtCentroid&lt;T&gt;(T x);
11+
1112
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;T,N&gt; EvaluateAttributeAtCentroid&lt;T, N:int&gt;(<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;T,N&gt; x);
13+
1214
<a href="/slang/stdlib-reference/types/matrix/index">matrix</a>&lt;T,N,M&gt; EvaluateAttributeAtCentroid&lt;T, N:int, M:int&gt;(<a href="/slang/stdlib-reference/types/matrix/index">matrix</a>&lt;T,N,M&gt; x);
15+
1316
</pre>
1417

18+
## Availability and Requirements
19+
20+
Defined for the following targets:
21+
22+
* glsl
23+
* available in stages: `amplification`, `fragment`, `compute`, `mesh`, `miss`, `callable`, `raygen`, `intersection`, `anyhit`, `closesthit`.
24+
* spirv
25+
* available in stages: `amplification`, `fragment`, `compute`, `mesh`, `miss`, `callable`, `raygen`, `intersection`, `anyhit`, `closesthit`.
26+
* requires capabilities: `SPV_NV_compute_shader_derivatives`, `spvMeshShadingEXT`.
27+
28+
1529
## Parameters
1630

1731
* `T`

docs/stdlib-reference/global-decls/EvaluateAttributeAtSample.md

+14
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,28 @@ layout: stdlib-reference
1010
T EvaluateAttributeAtSample&lt;T&gt;(
1111
T x,
1212
uint sampleindex);
13+
1314
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;T,N&gt; EvaluateAttributeAtSample&lt;T, N:int&gt;(
1415
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;T,N&gt; x,
1516
uint sampleindex);
17+
1618
<a href="/slang/stdlib-reference/types/matrix/index">matrix</a>&lt;T,N,M&gt; EvaluateAttributeAtSample&lt;T, N:int, M:int&gt;(
1719
<a href="/slang/stdlib-reference/types/matrix/index">matrix</a>&lt;T,N,M&gt; x,
1820
uint sampleindex);
21+
1922
</pre>
2023

24+
## Availability and Requirements
25+
26+
Defined for the following targets:
27+
28+
* glsl
29+
* available in stages: `amplification`, `fragment`, `compute`, `mesh`, `miss`, `callable`, `raygen`, `intersection`, `anyhit`, `closesthit`.
30+
* spirv
31+
* available in stages: `amplification`, `fragment`, `compute`, `mesh`, `miss`, `callable`, `raygen`, `intersection`, `anyhit`, `closesthit`.
32+
* requires capabilities: `SPV_NV_compute_shader_derivatives`, `spvMeshShadingEXT`.
33+
34+
2135
## Parameters
2236

2337
* `T`

docs/stdlib-reference/global-decls/EvaluateAttributeSnapped.md

+14
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,28 @@ layout: stdlib-reference
1010
T EvaluateAttributeSnapped&lt;T&gt;(
1111
T x,
1212
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;int,2&gt; offset);
13+
1314
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;T,N&gt; EvaluateAttributeSnapped&lt;T, N:int&gt;(
1415
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;T,N&gt; x,
1516
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;int,2&gt; offset);
17+
1618
<a href="/slang/stdlib-reference/types/matrix/index">matrix</a>&lt;T,N,M&gt; EvaluateAttributeSnapped&lt;T, N:int, M:int&gt;(
1719
<a href="/slang/stdlib-reference/types/matrix/index">matrix</a>&lt;T,N,M&gt; x,
1820
<a href="/slang/stdlib-reference/types/vector/index">vector</a>&lt;int,2&gt; offset);
21+
1922
</pre>
2023

24+
## Availability and Requirements
25+
26+
Defined for the following targets:
27+
28+
* glsl
29+
* available in stages: `amplification`, `fragment`, `compute`, `mesh`, `miss`, `callable`, `raygen`, `intersection`, `anyhit`, `closesthit`.
30+
* spirv
31+
* available in stages: `amplification`, `fragment`, `compute`, `mesh`, `miss`, `callable`, `raygen`, `intersection`, `anyhit`, `closesthit`.
32+
* requires capabilities: `SPV_NV_compute_shader_derivatives`, `spvMeshShadingEXT`.
33+
34+
2135
## Parameters
2236

2337
* `T`

0 commit comments

Comments
 (0)