diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-13 12:14:28 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-12-13 16:43:22 +0000 |
commit | f12cdc53f3c07ca3ee8125fcac1dd6e17bed0c73 (patch) | |
tree | b1ce04d7820120728ce462045c69e58628579948 /include/backend/drm/renderer.h | |
parent | 80074d95fba4fea5b8de1c2e948016eac63caec2 (diff) |
render/egl: stop advertising render support for external-only formats
Some formats like YUV are only supported by Mesa for sampling, not
for rendering. However we always unconditionally added the INVALID
modifier to the list of render formats.
Check whether all modifiers are external-only, in that case, don't
add INVALID to the list of render formats.
Diffstat (limited to 'include/backend/drm/renderer.h')
0 files changed, 0 insertions, 0 deletions