summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHai Nguyen <379079+chaoticbob@users.noreply.github.com>2024-06-06 23:18:01 -0400
committerGitHub <noreply@github.com>2024-06-06 20:18:01 -0700
commit72f10a8cc21280c6a84b8f5917dabdb3da2f482e (patch)
treeb4fe18a0b8664abbe69f9cc4d37d13c88e1c83d1
parenta709e029df959efa9c0aa73f42cbe972fc26c5b6 (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.
-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 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;