OSDN Git Service

anv: Insert holes for non-existant XFB varyings
authorJason Ekstrand <jason@jlekstrand.net>
Wed, 22 Jan 2020 20:26:24 +0000 (14:26 -0600)
committerDylan Baker <dylan@pnwbakers.com>
Mon, 3 Feb 2020 16:31:30 +0000 (08:31 -0800)
commit9250fb9f0e4f14aeb86c54eeea20dab5d43ee4ea
treebebaa809d379e23ff8c89b445c79dbd11bdf4131
parent4ab4ab0b2735fe38a61a71aff1f54352016e49e9
anv: Insert holes for non-existant XFB varyings

Thanks to optimizations, it's possible for varyings to get deleted but
still leave the variable there for nir_gather_xfb_info to find.  If we
get into this case, insert a hole.

Fixes: 36ee2fd61c8 "anv: Implement the basic form of..."
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3520>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3520>
(cherry picked from commit 993f866d2e31c06462b49d760debf64d14e54a68)
.pick_status.json
src/intel/vulkan/genX_pipeline.c