radeonsi/nir: fix scanning of multi-slot output varyings
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 21 Feb 2018 05:53:54 +0000 (16:53 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 27 Mar 2018 22:59:37 +0000 (09:59 +1100)
commit47eee04556c75075145fbdd0ec50844dcf080d17
treef361ec8cb864ce637a9bba89a8b04039e23c3e4c
parent9f1b4f620464f76c82bcf4b36514f895c59f5c17
radeonsi/nir: fix scanning of multi-slot output varyings

This fixes tcs/tes varying arrays where we dont lower indirects and
therefore don't split arrays. Here we also fix useagemask for dual
slot doubles.

Fixes a number of arb_tessellation_shader piglit tests.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader_nir.c