diff options
| author | Hai Nguyen <379079+chaoticbob@users.noreply.github.com> | 2024-06-06 23:18:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-06 20:18:01 -0700 |
| commit | 72f10a8cc21280c6a84b8f5917dabdb3da2f482e (patch) | |
| tree | b4fe18a0b8664abbe69f9cc4d37d13c88e1c83d1 /examples/hello-world/main.cpp | |
| parent | a709e029df959efa9c0aa73f42cbe972fc26c5b6 (diff) | |
Fixed profile string per request in pr#4268 (#4297)
Changed profile string from glsl_440 to spirv_1_5 per request in
pr#4268.
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 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; |
