We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a709e02 commit 72f10a8Copy full SHA for 72f10a8
examples/hello-world/main.cpp
@@ -114,7 +114,7 @@ int HelloWorldExample::createComputePipelineFromShader()
114
slang::SessionDesc sessionDesc = {};
115
slang::TargetDesc targetDesc = {};
116
targetDesc.format = SLANG_SPIRV;
117
- targetDesc.profile = slangGlobalSession->findProfile("glsl_440");
+ targetDesc.profile = slangGlobalSession->findProfile("spirv_1_5");
118
targetDesc.flags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY;
119
120
sessionDesc.targets = &targetDesc;
0 commit comments