-
Notifications
You must be signed in to change notification settings - Fork 104
Description
GLSL is used both with OpenGL API and is lowered to SPIRV and used with Vulkan API
Vulkan interface matching requirements are at SPIRV level
https://docs.vulkan.org/spec/latest/chapters/interfaces.html
OpenGL Spec section 7.4.1 Shader Interface Matching spells out the GLSL requirements for shader interface matching.
GL_KHR_vulkan_glsl introduced some language for Vulkan, but it's not clear on whether location matching is permitted. What are the requirements for name matching?
It's better to clearly define the interface matching requirements in GLSL spec without any API dependencies. This will make interface matching language less ambiguous on Vulkan.
This bug is created to clarify the interface matching requirements when using GLSL for any API.
As part of the bug, we should define interface matching requirements in the language without referring to API environment specs.