[Mesa-dev] [PATCH 5/8] nir/spirv: print id for unsupported alu opcode
Jason Ekstrand
jason at jlekstrand.net
Mon Jul 16 15:22:53 UTC 2018
Reviewed-by: Jason Ekstrand <jason at jlekstrand.net>
On Mon, Jul 16, 2018 at 7:29 AM Karol Herbst <kherbst at redhat.com> wrote:
> Signed-off-by: Karol Herbst <kherbst at redhat.com>
> ---
> 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 0ec0234f531..5a0347989e9 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.17.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180716/428e4ce8/attachment-0001.html>
More information about the mesa-dev
mailing list