We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2eecfd1 commit 1bc6875Copy full SHA for 1bc6875
chapters/slang.adoc
@@ -464,7 +464,7 @@ For GLSL compatibility mode:
464
465
[source]
466
----
467
-slangc -profile glsl_spirv -entry main -o output.spv -language glsl input.glsl
+slangc -profile glsl_spirv -entry main -o output.spv -allow-glsl input.glsl
468
469
470
Key command-line options include:
@@ -473,6 +473,7 @@ Key command-line options include:
473
* `-entry`: Specifies the entry point function
474
* `-o`: Specifies the output file
475
* `-language`: Specifies the input language (default is Slang)
476
+* `-allow-glsl`: Enables GLSL as an input language
477
* `-target`: Specifies the target platform (e.g., `vulkan`)
478
479
=== Runtime compilation using the library
0 commit comments