mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-02-09 10:06:44 -05:00
color-representation: add support for identity+full
This commit is contained in:
parent
439985fe95
commit
bb78861ca9
3 changed files with 15 additions and 5 deletions
|
|
@ -2039,8 +2039,8 @@ struct wlr_vk_pipeline_layout *get_or_create_pipeline_layout(
|
|||
};
|
||||
sampler_create_info.pNext = &conversion_info;
|
||||
} else {
|
||||
assert(key->ycbcr.encoding == WLR_COLOR_ENCODING_NONE);
|
||||
assert(key->ycbcr.range == WLR_COLOR_RANGE_NONE);
|
||||
assert(key->ycbcr.encoding == WLR_COLOR_ENCODING_NONE || key->ycbcr.encoding == WLR_COLOR_ENCODING_IDENTITY);
|
||||
assert(key->ycbcr.range == WLR_COLOR_RANGE_NONE || key->ycbcr.range == WLR_COLOR_RANGE_FULL);
|
||||
}
|
||||
|
||||
res = vkCreateSampler(renderer->dev->dev, &sampler_create_info, NULL, &pipeline_layout->sampler);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue