summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/hello-world/main.cpp2
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;