mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-20 02:20:13 +01:00
Example to serve as a reference of a basic Wayland client using Vulkan, contained in a single source file and with a minimal set of dependencies. Features incremental present (similar to swap_buffers_with_damage from EGL) which is not commonly used by other Vulkan demos and is useful to test the compositor. Based on weston-simple-egl. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
9 lines
145 B
GLSL
9 lines
145 B
GLSL
#version 450 core
|
|
|
|
layout(location = 0) in vec4 vVaryingColor;
|
|
layout(location = 0) out vec4 f_color;
|
|
|
|
void main()
|
|
{
|
|
f_color = vVaryingColor;
|
|
}
|