Closed Raildex closed 1 month ago
The Vulkan flavored glsl is the only GLSL we officially support. We will need a glsl-legacy to profile to support old OpenGL glsl.
so why do 3 glsl targets exist then?
They exist for legacy reasons, and we need to clean them up.
@Raildex is this a blocker for you if we don't fix this? We'll plan to clean up the targets and clarify that only the Vulkan style GLSL is supported. Any concerns with this approach?
Proceeding with treating as cleanup.
Slang has three glsl targets:
glsl
glsl-vulkan
glsl_vulkan-one-desc
I would expect
glsl
to be OpenGL GLSL, but it spits outgl_VertexIndex
instead ofgl_VertexId
for example, which is Vulkan GLSL. So all three targets are actually Vulkan GLSL