mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-11 04:28:02 -05:00
vulkan: make use of new pixel_format_is_ycbcr function
This commit is contained in:
parent
7ca85d7a21
commit
8f2ef81666
5 changed files with 20 additions and 27 deletions
|
|
@ -1630,8 +1630,8 @@ static bool init_blend_to_output_layouts(struct wlr_vk_renderer *renderer) {
|
|||
static bool pipeline_layout_key_equals(
|
||||
const struct wlr_vk_pipeline_layout_key *a,
|
||||
const struct wlr_vk_pipeline_layout_key *b) {
|
||||
assert(!a->ycbcr.format || a->ycbcr.format->is_ycbcr);
|
||||
assert(!b->ycbcr.format || b->ycbcr.format->is_ycbcr);
|
||||
assert(!a->ycbcr.format || vulkan_format_is_ycbcr(a->ycbcr.format));
|
||||
assert(!b->ycbcr.format || vulkan_format_is_ycbcr(b->ycbcr.format));
|
||||
|
||||
if (a->filter_mode != b->filter_mode) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue