nir/spirv: print id for unsupported alu opcode

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
This commit is contained in:
Karol Herbst 2018-07-14 06:17:08 +02:00
parent 1beef89ad8
commit 71add09e79

View file

@ -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);
}
}