anv: use a simpler MUE layout for fast linked libraries
authorIván Briano <ivan.briano@intel.com>
Wed, 23 Aug 2023 18:09:01 +0000 (11:09 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 12 Sep 2023 02:51:31 +0000 (02:51 +0000)
commitb200e5765cb51bcfefac583f811b3d246b919282
tree5343835b14c88854cd325633c20eddce8625917a
parentbcde58ea86e048b8aec5459294b46daf97f85a0d
anv: use a simpler MUE layout for fast linked libraries

The compaction introduced in a2521233631 ("intel/compiler/mesh: compactify MUE layout")
is not suitable for the case where graphics pipeline libraries are fast
linked, as the fragment shader won't receive the mue_map to know where
to locate its inputs.
For that case, keep doing what we did before and lay things down in the
order varyings are defined, which is also how it works for the non-mesh
case.

Fixes dEQP-VK.fragment_shading_rate.*fast_linked_library*.ms

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25047>
src/intel/compiler/brw_compiler.h
src/intel/compiler/brw_mesh.cpp
src/intel/vulkan/anv_pipeline.c