radv: move nir_lower_io_to_scalar_early() to radv_link_shaders()
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 23 Oct 2018 10:56:30 +0000 (21:56 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Tue, 23 Oct 2018 21:21:29 +0000 (08:21 +1100)
commitc769ed10decaf9b0f09c570c81b7360cf4e6f507
tree6048023587de457d833e8ffca64d6610d8851d82
parent7c694cbfa43388b7394142e5d75e1c0a0d2a8ca9
radv: move nir_lower_io_to_scalar_early() to radv_link_shaders()

nir_lower_io_to_scalar_early() is really part of the link time
optimisations. Moving it here allows the code to be simplified
and also keeps the code easy to follow in the next patch.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_pipeline.c