From 72f10a8cc21280c6a84b8f5917dabdb3da2f482e Mon Sep 17 00:00:00 2001 From: Hai Nguyen <379079+chaoticbob@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:18:01 -0400 Subject: Fixed profile string per request in pr#4268 (#4297) Changed profile string from glsl_440 to spirv_1_5 per request in pr#4268. --- examples/hello-world/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/hello-world') 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; -- cgit v1.2.3