This test fails on all platforms supported by iris.
stdout from test:
planes mismatch, got 1 expected 2
Bisected to this commit:
Author: Mike Blumenkrantz <firstname.lastname@example.org>
Date: Wed May 29 17:14:32 2019 -0400
gallium: add handling for YUV planar surfaces
this adds a table (similar to the one in i965) which provides
mappings for turning various planar formats into multiple sampler views.
whereas only NV12 and IYUV were supported, now many more formats are
the table is used directly to handle image creation, simplifying
a lot of code and resolving related TODO/FIXME items where workarounds were
previously in place to manage NV12 and IYUV formats exclusively
the changes here relate to setting up samplers for the planar formats.
* checking for driver support for all the sampler formats
* creating the samplers with the corresponding formats and swizzling
* running nir_lower_tex with the appropriate options to trigger the lowering
for each plane->sampler
Reviewed-by: Kenneth Graunke <email@example.com>
This is easy, with Jordan's new resource_get_param hook we just need to loop and actually count the planes. Testing a fix in CI now.