projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
615f1c8
)
gallivm: Report the unsupported intrinsic instead of just assert(0);
author
Eric Anholt
<eric@anholt.net>
Fri, 24 Jul 2020 03:38:11 +0000
(20:38 -0700)
committer
Eric Anholt
<eric@anholt.net>
Wed, 2 Sep 2020 16:58:44 +0000
(09:58 -0700)
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>
src/gallium/auxiliary/gallivm/lp_bld_nir.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/gallivm/lp_bld_nir.c
b/src/gallium/auxiliary/gallivm/lp_bld_nir.c
index bb04beeed12978ce25b7ea798c99d74c1753f5f5..f0f8a9c95184747013e76691c36fc929043af556 100644
(file)
--- a/
src/gallium/auxiliary/gallivm/lp_bld_nir.c
+++ b/
src/gallium/auxiliary/gallivm/lp_bld_nir.c
@@
-1581,6
+1581,9
@@
static void visit_intrinsic(struct lp_build_nir_context *bld_base,
visit_interp(bld_base, instr, result);
break;
default:
+ fprintf(stderr, "Unsupported intrinsic: ");
+ nir_print_instr(&instr->instr, stderr);
+ fprintf(stderr, "\n");
assert(0);
break;
}