mesa/src/intel
Yiwei Zhang c8d8961f33 anv: avoid requiring ordered memory planes for explicit import
The spec does not have such requirement, but anv requires it for
validating the offset. However, for DRM_FORMAT_YVU420, chroma channels
can be swapped upon import to match B/R channel order of
VK_FORMAT_G8_B8_R8_3PLANE_420_UNORM.

This fixes some sw codec path in Instagram when interop with gpu.

v2: fix image memory requirement for re-ordered explicit import

Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Emma Anholt <emma@anholt.net> (v1)
Reviewed-by: Matt Tuner <mattst88@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23643>
2023-06-15 17:53:10 +00:00
..
blorp intel/blorp: Avoid 32bpc fast clear sampling issue 2023-06-15 14:17:49 +00:00
ci ci: Drop some skips of GL CTS ArraysOfArrays tests. 2023-06-14 16:45:23 +00:00
common meson: Key whether to build batch decoder on expat 2023-06-12 23:07:00 +00:00
compiler nir: add missed nir_cmp_imm-helpers 2023-06-15 13:34:49 +00:00
dev intel/dev: add parentheses around intel_needs_workaround macro 2023-06-13 13:27:30 +00:00
ds anv: enable CmdCopyQueryPoolResults to use shader for copies 2023-06-14 09:43:57 +03:00
genxml intel/genxml: Drop Tiled Resource Mode fields 2023-06-08 00:07:40 +00:00
isl intel/genxml: Drop Tiled Resource Mode fields 2023-06-08 00:07:40 +00:00
nullhw-layer vulkan/layers: Use PUBLIC instead of VK_LAYER_EXPORT 2023-02-17 03:42:34 +00:00
perf intel/perf: fix OA format selection on MTL 2023-04-03 23:34:17 +00:00
tools intel/stub_gpu: add an option to launch valgrind 2023-06-06 14:47:41 +00:00
vulkan anv: avoid requiring ordered memory planes for explicit import 2023-06-15 17:53:10 +00:00
vulkan_hasvk nir: use new immediate comparison helpers 2023-06-15 13:33:58 +02:00
meson.build blorp: add dependency on idep_intel_dev 2023-03-03 13:04:23 +00:00