1#version 450 core 2 3layout (location = 0) out vec4 FragColor; 4 5layout (location = 0) in VS_OUT 6{ 7 vec2 foobar; 8} fs_in; 9 10layout (binding = 1) uniform sampler2D t0; 11 12void main() 13{ 14 FragColor = texture(t0, fs_in.foobar); 15} 16 17