Skip to content

Commit 1b10bdf

Browse files
MaetveisKeenuts
andauthored
Add an example on how to enable khronos extensions
Co-authored-by: Nathan Gauër <[email protected]>
1 parent 5370bae commit 1b10bdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

llvm/docs/SPIRVUsage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,8 @@ To enable multiple extensions, list them separated by comma. For example, to ena
140140

141141
To enable all extensions, use the following option:
142142
``-spirv-ext=all``
143+
To enable all KHR extensions, use the following option:
144+
``-spirv-ext=khr``
143145

144146
To enable all extensions except specified, specify ``all`` followed by a list of disallowed extensions. For example:
145147
``-spirv-ext=all,-SPV_INTEL_arbitrary_precision_integers``

0 commit comments

Comments
 (0)