mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render/vulkan: allow rendering to non-8-bit buffers
This is implemented by a two-subpass rendering scheme; the first subpass draws (and blends) onto a linear R16G16B16A16_SFLOAT buffer, while the second subpass performs linear->srgb conversion, writing onto the actual output buffer.
This commit is contained in:
parent
8cdc4b7a31
commit
10dd416694
5 changed files with 651 additions and 90 deletions
|
|
@ -2,6 +2,7 @@ vulkan_shaders_src = [
|
|||
'common.vert',
|
||||
'texture.frag',
|
||||
'quad.frag',
|
||||
'output.frag',
|
||||
]
|
||||
|
||||
vulkan_shaders = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue