Compiles Vulkan Host shaders into spirv binary files and embeds them into the application's virtual file-system.
7 lines
194 B
GLSL
7 lines
194 B
GLSL
#version 460 core
|
|
layout(location = 0) in vec2 UV;
|
|
layout(location = 0) out vec4 FragColor;
|
|
|
|
layout(binding = 0) uniform sampler2D u_texture;
|
|
|
|
void main() { FragColor = texture(u_texture, UV); } |