From 71add09e79bf11b337b56e6ef68e6ad29d165a0d Mon Sep 17 00:00:00 2001 From: Karol Herbst Date: Sat, 14 Jul 2018 06:17:08 +0200 Subject: [PATCH] nir/spirv: print id for unsupported alu opcode Reviewed-by: Jason Ekstrand Signed-off-by: Karol Herbst --- src/compiler/spirv/vtn_alu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/spirv/vtn_alu.c b/src/compiler/spirv/vtn_alu.c index d7d17a825b7..38ccd62ae17 100644 --- a/src/compiler/spirv/vtn_alu.c +++ b/src/compiler/spirv/vtn_alu.c @@ -415,7 +415,7 @@ vtn_nir_alu_op_for_spirv_opcode(struct vtn_builder *b, case SpvOpDPdyCoarse: return nir_op_fddy_coarse; default: - vtn_fail("No NIR equivalent"); + vtn_fail("No NIR equivalent: %u", opcode); } } -- 2.30.2