turnip: consider HW limit on number of views when apply multipos opt

Graphics / Mesa 3D Graphics Library / Mesa - Danylo Piliaiev [igalia.com] - 19 February 2021 09:16 UTC

Blob doesn't apply multipos optimization starting from 11 views even on a650, however in practice, with the limit of 16 views, tests pass on a640/a650 and fail on a630.

Fixes tests: dEQP-VK.multiview.draw_indexed.max_multi_view_view_count dEQP-VK.multiview.input_attachments.max_multi_view_view_count dEQP-VK.multiview.masks.max_multi_view_view_count dEQP-VK.multiview.multisample.max_multi_view_view_count dEQP-VK.multiview.queries.max_multi_view_view_count dEQP-VK.multiview.renderpass2.index.fragment_shader.max_multi_view_view_count dEQP-VK.multiview.secondary_cmd_buffer.max_multi_view_view_count

Fixes: 8d275778 ("tu: Enable multi-position output")

b6b3b38434a turnip: consider HW limit on number of views when apply multipos opt
ci-expects/freedreno/deqp-freedreno-a630-fails.txt | 7 -------
src/freedreno/vulkan/tu_nir_lower_multiview.c | 10 +++++++++-
2 files changed, 9 insertions(+), 8 deletions(-)

Upstream: cgit.freedesktop.org


  • Share