Skip to content

Commit 0d5dd89

Browse files
authored
[SPIR-V] Add doc for heap related -fvk-bind flags (#8018)
Those flags were documented in the --help, but not the official documentation.
1 parent 62208ca commit 0d5dd89

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/SPIR-V.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2065,6 +2065,15 @@ Bindings are lazily allocated: if only the sampler heap is used,
20652065
// buffer is in the descriptor set 0, binding 0.
20662066
// Counter not generated, because unused.
20672067
2068+
Bindings & sets associated with each heap can be explicitly set using:
2069+
2070+
- `-fvk-bind-sampler-heap <binding> <set>`: Specify Vulkan binding number
2071+
and set number for the sampler heap.
2072+
- `-fvk-bind-resource-heap <binding> <set>`: Specify Vulkan binding number
2073+
and set number for the resource heap.
2074+
- `-fvk-bind-counter-heap <binding> <set>`: Specify Vulkan binding number
2075+
and set number for the counter heap.
2076+
20682077
HLSL Expressions
20692078
================
20702079

0 commit comments

Comments
 (0)