rust_vulkan_test/res/shaders/vertex.frag

9 lines
140 B
GLSL
Raw Normal View History

2024-11-24 19:24:28 +01:00
#version 450
2024-12-08 18:19:37 +01:00
layout (location = 0) in vec3 color;
2024-11-24 19:24:28 +01:00
2024-12-08 18:19:37 +01:00
layout (location = 0) out vec4 f_color;
2024-11-24 19:24:28 +01:00
void main() {
2024-12-08 18:19:37 +01:00
f_color = vec4(color, 1.0);
2024-11-24 19:24:28 +01:00
}