Benjamin Otte
3768c676c6
vulkan: Add clip.vert.glsl
...
Implement clipping the same way as in the last commit for the
fragment shaders.
2017-01-17 06:17:55 +01:00
Benjamin Otte
6a60e335cd
vulkan: Add push constants to fragment shader
...
That way we don't need to move the clip rounded rect manually through
the vertex shader into the fragment shader but can just look at the push
constants.
Simplifies shaders a lot.
2017-01-17 06:17:55 +01:00
Benjamin Otte
c7d899c535
vulkan: Move push constants into their own header
...
This is the first step towards easing maintenance of the Vulkan shaders
by moving common code into headers.
2017-01-17 06:17:55 +01:00
Benjamin Otte
b186bce7ff
vulkan: Add shader for border rendering
2017-01-11 18:33:09 +01:00