ac: allow control flow statements in NIR callbacks
authorMarek Olšák <marek.olsak@amd.com>
Wed, 24 Jul 2019 21:19:38 +0000 (17:19 -0400)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 31 Jul 2019 02:06:23 +0000 (22:06 -0400)
commitf6eca14f1b0b6e964821e59fd10f4dc00596a18c
treebd6f1f895bdb8a11cc76487990c99f6e9f9aff8d
parentbfea7e4d2965269bff8f1f6449cb99c312fd7384
ac: allow control flow statements in NIR callbacks

This fixes a crash when compiling geometry shaders on radeonsi.
src/amd/common/ac_llvm_build.c
src/amd/common/ac_llvm_build.h