Implement GL_EXT_vulkan_glsl_relaxed option

This commit is contained in:
will brown
2020-06-09 20:43:48 -04:00
committed by Malcolm Bechard
parent 159b057080
commit ecc9b9149f
43 changed files with 6707 additions and 111 deletions

View File

@@ -0,0 +1,15 @@
#version 460
layout (location = 0) out vec4 io;
// default uniforms will be gathered into a uniform block
// final global block will merge uniforms from all linked files
uniform vec2 a; // declared in both stages with different type
vec4 foo() {
return a.xyxy;
}
void main() {
io = foo();
}