diff options
Diffstat (limited to 'Test/enhanced.3.frag')
-rw-r--r-- | Test/enhanced.3.frag | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/Test/enhanced.3.frag b/Test/enhanced.3.frag new file mode 100644 index 00000000..1de9f4b2 --- /dev/null +++ b/Test/enhanced.3.frag @@ -0,0 +1,16 @@ +#version 450 core + +layout (location = 0) out vec4 FragColor; + +layout (location = 0) in VS_OUT +{ + vec2 foobar; +} fs_in; + +layout (binding = 1) uniform sampler2D t0; + +void main() +{ + FragColor = texture(t0, fs_in.foobar); +} + |