summaryrefslogtreecommitdiff
path: root/gsk/gskvulkanpushconstants.c
Commit message (Collapse)AuthorAgeFilesLines
* gsk: Fix a prefix mishapMatthias Clasen2017-09-231-2/+2
| | | | There shouldn't be any gst_ functions in here...
* vulkan: Add push constants to fragment shaderBenjamin Otte2017-01-171-34/+22
| | | | | | | | 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.
* vulkanpushconstants: Don't report invalid rangesGeorges Basile Stavracas Neto2017-01-041-2/+2
| | | | | Vulkan doesn't accept empty ranges, so simply don't report them.
* vulkan: Fold clip into push constantsBenjamin Otte2016-12-241-6/+38
| | | | | | As a side effect, the clipping data is now available inside shaders. Not that any shader would use them yet, but they could!
* vulkan: Change handling of push constantsBenjamin Otte2016-12-241-20/+22
| | | | | Instead of storing the wire format, store the true structs and only convert to the wire format when needed.
* vulkan: Remove color from push constantsBenjamin Otte2016-12-201-13/+4
| | | | It's now handled by the color pipeline.
* vulkan: Add infrastructure for push constantsBenjamin Otte2016-12-201-0/+101
THe code includes fragment push constants for colors, but that code is so far unused.