Implement GL_EXT_vulkan_glsl_relaxed option
This commit is contained in:
parent
159b057080
commit
ecc9b9149f
43 changed files with 6707 additions and 111 deletions
16
Test/vk.relaxed.errorcheck.frag
Normal file
16
Test/vk.relaxed.errorcheck.frag
Normal 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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue