gtk/gsk/resources/vulkan/blit.frag.glsl
Benjamin Otte 3c4b952256 vulkan: Make GskVulkanRenderer work
We now create a Cairo renderer, render to an image surface and upload
and retnder it with Vulkan.
2016-12-09 18:35:51 +01:00

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);
}