summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarol Herbst <[email protected]>2018-07-14 06:17:08 +0200
committerKarol Herbst <[email protected]>2018-07-17 13:24:09 +0200
commit71add09e79bf11b337b56e6ef68e6ad29d165a0d (patch)
tree180fd82c658051ce9c68fe85e26bbbde892f50c9
parent1beef89ad85c47fb6dea565687682e14b8e21101 (diff)
nir/spirv: print id for unsupported alu opcode
Reviewed-by: Jason Ekstrand <[email protected]> Signed-off-by: Karol Herbst <[email protected]>
-rw-r--r--src/compiler/spirv/vtn_alu.c2
1 files changed, 1 insertions, 1 deletions
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);
}
}