tgsi_to_nir: Split to smaller functions.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 8 Feb 2019 08:59:58 +0000 (09:59 +0100)
committerEric Anholt <eric@anholt.net>
Tue, 5 Mar 2019 19:13:27 +0000 (19:13 +0000)
commit4dba72c4b35eeb312da232b2f30f067885bc9f07
tree2e558d6a067738b3684b9d00c10fb049cd20361e
parent950aebbc5317c5a692b522959ad66ea197344121
tgsi_to_nir: Split to smaller functions.

Previously, tgsi_to_nir was a single big function, and this patch
intends to make the code easier to understand by splitting it up
to multiple smaller pieces.

Signed-Off-By: Timur Kristóf <timur.kristof@gmail.com>
Tested-by: Andre Heider <a.heider@gmail.com>
Tested-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
Acked-By: Tested-by: Rob Clark <robdclark@gmail.com>
src/gallium/auxiliary/nir/tgsi_to_nir.c