mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-13 08:22:16 -04:00
examples: add render-pass-ext exmaple
This commit is contained in:
parent
53630a0a60
commit
393f96274a
14 changed files with 705 additions and 0 deletions
8
examples/render-pass-ext/gles2/shaders/triangle.vert
Normal file
8
examples/render-pass-ext/gles2/shaders/triangle.vert
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
attribute vec2 pos;
|
||||
attribute vec3 color;
|
||||
varying vec3 v_color;
|
||||
|
||||
void main() {
|
||||
gl_Position = vec4(pos, 0.0, 1.0);
|
||||
v_color = color;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue