Skip to content

Commit 1236eb7

Browse files
authored
Tests: Fix glslangValidator invocation
1 parent 4dd901c commit 1236eb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ NZSL is designed to be embedded in a game engine / game / graphics application t
5858

5959
You can use it to generate GLSL, GLSL ES and SPIR-V in two non-exclusive ways:
6060

61-
1) Using the offline NZSL compiler (nzslc) ahead of time, in a way similar to glslangValidator or glslc today.
61+
1) Using the offline NZSL compiler (nzslc) ahead of time, in a way similar to glslang or glslc today.
6262
2) Use NZSL as a library in your application to compile shaders in a dynamic way, just as they're needed (which can be used to benefit from supported extensions to improve generation).
6363

6464
### Offline compilation

tests/src/Tests/NzslcTests.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ TEST_CASE("Standalone compiler", "[NZSLC]")
129129
// Validate generated files
130130
ExecuteCommand("./nzslc test_files/Shader.nzsl");
131131
ExecuteCommand("./nzslc test_files/Shader.nzslb");
132-
ExecuteCommand("glslangValidator -S frag test_files/Shader.frag.glsl");
132+
ExecuteCommand("glslang -S frag test_files/Shader.frag.glsl");
133133
ExecuteCommand("spirv-val test_files/Shader.spv");
134134

135135
// Check that header version matches original files

0 commit comments

Comments
 (0)