diff options
Diffstat (limited to 'examples/hello-world/main.cpp')
| -rw-r--r-- | examples/hello-world/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hello-world/main.cpp b/examples/hello-world/main.cpp index 95c3daa72..58481c12c 100644 --- a/examples/hello-world/main.cpp +++ b/examples/hello-world/main.cpp @@ -114,7 +114,7 @@ int HelloWorldExample::createComputePipelineFromShader() slang::SessionDesc sessionDesc = {}; slang::TargetDesc targetDesc = {}; targetDesc.format = SLANG_SPIRV; - targetDesc.profile = slangGlobalSession->findProfile("glsl440"); + targetDesc.profile = slangGlobalSession->findProfile("glsl_440"); targetDesc.flags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY; sessionDesc.targets = &targetDesc; |
