mesa/src
Simon Ser 979e138695 radeonsi: stop special-casing YUV formats in si_query_dmabuf_modifiers
Instead of having a special case for YUV formats in
si_query_dmabuf_modifiers, let ac_get_supported_modifiers handle
them. Keep setting external_only = 1 for YUV formats, since we
can only sample from such formats (we can't use them as render
targets).

This shouldn't change si_query_dmabuf_modifiers's behavior, because
for YUV formats ac_get_supported_modifiers will return a single
LINEAR modifier.

Signed-off-by: Simon Ser <contact@emersion.fr>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Acked-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10134>
2021-04-15 09:43:17 +00:00
..
amd ac/surface: use blocksizebits instead of blocksize 2021-04-15 09:43:17 +00:00
android_stub android: add some more stub functions for cross compilation 2021-03-25 06:06:16 +00:00
broadcom v3dv: use a bitfield to implement a quick check for job BO tracking 2021-04-15 06:09:34 +00:00
compiler meson: Fix winflexbison warnings 2021-04-14 19:17:27 +00:00
drm-shim drm-shim: report support for timeline semaphores 2021-02-09 21:08:52 +00:00
egl egl/haiku: Fix ConfigID naming inline with mesa 2021-04-09 15:29:41 +00:00
etnaviv etnaviv: tell the truth if alpha-test is supported 2021-04-08 19:25:26 +00:00
freedreno turnip: fix typo in tu_CmdBeginRenderPass2() 2021-04-15 09:51:25 +02:00
gallium radeonsi: stop special-casing YUV formats in si_query_dmabuf_modifiers 2021-04-15 09:43:17 +00:00
gbm egl: fix software flag in _eglAddDevice call on DRM 2021-03-26 10:32:31 +00:00
getopt scons: Remove. 2021-03-20 10:38:55 +00:00
glx glx: Lift sending the MakeCurrent request to top-level code 2021-04-13 22:58:58 +00:00
gtest
hgl hgl: Major refactor and cleanup 2021-01-09 20:51:35 -06:00
imgui
intel intel/blorp: remove tile flush from emit surface state 2021-04-15 04:54:40 +00:00
loader loader: prefer iris on Android 2021-03-31 06:28:18 +00:00
mapi scons: Remove. 2021-03-20 10:38:55 +00:00
mesa mesa/st: plumb GL_TEXTURE_REDUCTION_MODE_ARB through QueryInternalFormat 2021-04-15 01:20:40 +00:00
microsoft microsoft/clc: Update unit test to always use COMMON state for buffers 2021-04-12 18:50:20 +00:00
nouveau nouveau: add drm-shim support 2021-01-11 22:45:01 +00:00
panfrost panfrost: Fix pan_blitter_get_blit_shader() 2021-04-14 13:53:20 +00:00
util util/format: document block depth field 2021-04-15 09:43:17 +00:00
virtio venus: implement dma_buf fd import and properties query 2021-04-15 00:58:00 +00:00
vulkan vulkan/util: Use util_bitcount 2021-04-12 03:25:59 +00:00
meson.build venus: add driver skeleton 2021-04-08 17:15:37 +00:00