diff options
author | Alexander Orzechowski <alex@ozal.ski> | 2023-06-05 16:01:21 -0400 |
---|---|---|
committer | Alexander Orzechowski <alex@ozal.ski> | 2023-06-16 19:20:04 -0400 |
commit | 3623005858348594e6e32d95024cccc3f4270d85 (patch) | |
tree | 5421035321ff2c63bb10dce6a633a50782d74fb7 /include/render | |
parent | 9d31372930eb061e1a5f43fa7e0cb27e2ffa197a (diff) |
render/vulkan/pipeline_key: Add blending
This will become necessary when we switch away from scissoring. For the
time being, this cleans things up a bit and allows for a trivial
blending implementation for textures when that comes.
Diffstat (limited to 'include/render')
-rw-r--r-- | include/render/vulkan.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/render/vulkan.h b/include/render/vulkan.h index 76397aae..25111fb6 100644 --- a/include/render/vulkan.h +++ b/include/render/vulkan.h @@ -150,6 +150,7 @@ enum wlr_vk_shader_source { struct wlr_vk_pipeline_key { enum wlr_vk_shader_source source; struct wlr_vk_pipeline_layout *layout; + enum wlr_render_blend_mode blend_mode; // only used if source is texture enum wlr_vk_texture_transform texture_transform; |