mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 08:50:28 +00:00
3c4b952256
We now create a Cairo renderer, render to an image surface and upload and retnder it with Vulkan.
13 lines
219 B
GLSL
13 lines
219 B
GLSL
#version 420 core
|
|
|
|
layout(location = 0) in vec2 inTexCoord;
|
|
|
|
layout(set = 0, binding = 0) uniform sampler2D inTexture;
|
|
|
|
layout(location = 0) out vec4 color;
|
|
|
|
void main()
|
|
{
|
|
color = texture (inTexture, inTexCoord);
|
|
}
|