diff options
Diffstat (limited to 'examples/hello-world')
| -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 58481c12c..d1db6008a 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("glsl_440"); + targetDesc.profile = slangGlobalSession->findProfile("spirv_1_5"); targetDesc.flags = SLANG_TARGET_FLAG_GENERATE_SPIRV_DIRECTLY; sessionDesc.targets = &targetDesc; |
