Matthias Clasen
4a5ac93762
gsk: Fix a prefix mishap
...
There shouldn't be any gst_ functions in here...
2017-09-23 13:15:30 -04: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
Georges Basile Stavracas Neto
67894ace64
vulkanpushconstants: Don't report invalid ranges
...
Vulkan doesn't accept empty ranges, so simply don't report
them.
2017-01-04 18:40:42 +01:00
Benjamin Otte
81c487b841
vulkan: Fold clip into push constants
...
As a side effect, the clipping data is now available inside shaders.
Not that any shader would use them yet, but they could!
2016-12-24 06:19:16 +01:00
Benjamin Otte
18b65a2378
vulkan: Change handling of push constants
...
Instead of storing the wire format, store the true structs and only
convert to the wire format when needed.
2016-12-24 06:19:16 +01:00
Benjamin Otte
1b90ce6b33
vulkan: Remove color from push constants
...
It's now handled by the color pipeline.
2016-12-20 18:01:11 +01:00
Benjamin Otte
62eb9d42aa
vulkan: Add infrastructure for push constants
...
THe code includes fragment push constants for colors, but that code is
so far unused.
2016-12-20 18:01:10 +01:00