gallivm: split out the flow control ir to a common file.
authorDave Airlie <airlied@redhat.com>
Thu, 5 Sep 2019 05:34:46 +0000 (15:34 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 28 Nov 2019 04:47:54 +0000 (14:47 +1000)
commitc879efec0973a4b1c9e6baa94351feb9aaeb3f36
tree043cce432729ab9b5541d58a9d6ed93a7088cee4
parent754c7b893959d97483e6b5fccefbdbaa641c70ca
gallivm: split out the flow control ir to a common file.

We can share a bunch of flow control handling between NIR and TGSI.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/gallivm/lp_bld_ir_common.c [new file with mode: 0644]
src/gallium/auxiliary/gallivm/lp_bld_ir_common.h [new file with mode: 0644]
src/gallium/auxiliary/gallivm/lp_bld_tgsi.h
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c
src/gallium/auxiliary/meson.build