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 with dmabuf. This does not use a traditional Vulkan swapchain but implements it using imported gbm buffers. Also features use of linux-explicit-synchronization-unstable-v1 with Vulkan. Based on weston-simple-dmabuf-egl. Signed-off-by: Erico Nunes <nunes.erico@gmail.com>
9 lines
134 B
GLSL
9 lines
134 B
GLSL
#version 450 core
|
|
|
|
layout(location = 0) in vec4 v_color;
|
|
|
|
layout(location = 0) out vec4 f_color;
|
|
|
|
void main() {
|
|
f_color = v_color;
|
|
}
|