From: Karol Herbst Date: Sat, 14 Jul 2018 04:17:08 +0000 (+0200) Subject: nir/spirv: print id for unsupported alu opcode X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=71add09e79bf11b337b56e6ef68e6ad29d165a0d;p=mesa.git nir/spirv: print id for unsupported alu opcode Reviewed-by: Jason Ekstrand Signed-off-by: Karol Herbst --- 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); } }