Skip to content

Commit 72f10a8

Browse files
authored
Fixed profile string per request in pr#4268 (shader-slang#4297)
Changed profile string from glsl_440 to spirv_1_5 per request in pr#4268.
1 parent a709e02 commit 72f10a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/hello-world/main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ int HelloWorldExample::createComputePipelineFromShader()
114114
slang::SessionDesc sessionDesc = {};
115115
slang::TargetDesc targetDesc = {};
116116
targetDesc.format = SLANG_SPIRV;
117-
targetDesc.profile = slangGlobalSession->findProfile("glsl_440");
117+
targetDesc.profile = slangGlobalSession->findProfile("spirv_1_5");
118118
targetDesc.flags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY;
119119

120120
sessionDesc.targets = &targetDesc;

0 commit comments

Comments
 (0)