commit | 6e7c006062ce1b95d527a50a03642cb532de5f04 | [log] [tgz] |
---|---|---|
author | Eric Anholt <eric@anholt.net> | Thu Jul 23 20:38:11 2020 -0700 |
committer | Eric Anholt <eric@anholt.net> | Wed Sep 02 09:58:44 2020 -0700 |
tree | 210aec526b21275883354aca4dd237d637293203 | |
parent | 615f1c8990db4499e65844d0f50dcdd43de65e37 [diff] |
gallivm: Report the unsupported intrinsic instead of just assert(0); Tripped over this in rendermode with softpipe NIR. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6567>
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_nir.c b/src/gallium/auxiliary/gallivm/lp_bld_nir.c index bb04bee..f0f8a9c 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_nir.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@ -1581,6 +1581,9 @@ visit_interp(bld_base, instr, result); break; default: + fprintf(stderr, "Unsupported intrinsic: "); + nir_print_instr(&instr->instr, stderr); + fprintf(stderr, "\n"); assert(0); break; }