I need help compiling GLSL with Slang please. #7506
Replies: 1 comment
-
Looks like these two types ( All that said, it's always nice to have it working with more GLSL in the wild. At least one difficulty in this specific case is that in modern GLSL, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I was wondering if someone could help me. I try to use the Slang compiler to compile GLSL with:
slangc -o TempShaderOutputFile.spv -lang glsl -target spirv temp_shader_src_file.glsl
This compiled fine with glslc compiler, but with slangc I get:
I'm wondering what I have to do to compile this. 'sampler' is a valid keyword in GLSL. I'm trying to compile to SPIRV for Vulkan.
Beta Was this translation helpful? Give feedback.
All reactions