tgsi_to_nir: Make the TGSI IF translation code more readable.
authorTimur Kristóf <timur.kristof@gmail.com>
Wed, 13 Feb 2019 23:01:04 +0000 (01:01 +0200)
committerEric Anholt <eric@anholt.net>
Tue, 5 Mar 2019 19:13:27 +0000 (19:13 +0000)
commit950aebbc5317c5a692b522959ad66ea197344121
tree3406dd9e371aa3a4a2cfe6663e8b02c7016ae8d4
parentfa076acbc097b9251044f7419760b1d4be56992c
tgsi_to_nir: Make the TGSI IF translation code more readable.

This patch is a minor cleanup that only intends to make the
TGSI IF translation a bit easier to read.

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>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/auxiliary/nir/tgsi_to_nir.c