Revert "Revert "GL_ext_vulkan_glsl_relaxed extension support, and cross stage aware IO mapper""

This commit is contained in:
greg-lunarg
2021-03-15 11:26:11 -06:00
committed by GitHub
parent a36d91e5ac
commit 4e064eef46
43 changed files with 6707 additions and 111 deletions

View File

@@ -0,0 +1,16 @@
#version 460
layout (location = 0) in vec4 io;
out vec4 o;
// default uniforms will be gathered into a uniform block
uniform vec4 a; // declared in both stages with different types
vec4 foo() {
return a;
}
void main() {
o = io + foo();
}