nir: add can_replace_varying() helper
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 11 Dec 2018 00:53:54 +0000 (11:53 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 2 Jan 2019 01:19:17 +0000 (12:19 +1100)
commitc0aba8b0dc7b3e6cde019a0f2b30bb3a62d666ce
treeb5b9ee34e6a2d330e18f08c9df69ece3ff69e358
parent50de3f80a807c657b317173c437f217bc7bd74da
nir: add can_replace_varying() helper

This will be reused by the following patch.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/compiler/nir/nir_linking_helpers.c