mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-17 14:32:59 -04:00
examples: add render-pass-ext exmaple
This commit is contained in:
parent
da220392de
commit
b806de1d8c
20 changed files with 1082 additions and 0 deletions
8
examples/render-pass-ext/vulkan/shaders/triangle.frag
Normal file
8
examples/render-pass-ext/vulkan/shaders/triangle.frag
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#version 450
|
||||
|
||||
layout(location = 0) in vec3 v_color;
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
void main() {
|
||||
out_color = vec4(v_color, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue