forked from mirror/vulkan-zig
Pipeline(Layout) & render pass creation
This commit is contained in:
9
examples/shaders/triangle.frag
Normal file
9
examples/shaders/triangle.frag
Normal file
@@ -0,0 +1,9 @@
|
||||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 v_color;
|
||||
|
||||
layout(location = 0) out vec4 f_color;
|
||||
|
||||
void main() {
|
||||
f_color = vec4(v_color, 1.0);
|
||||
}
|
||||
Reference in New Issue
Block a user