v3d: Changed v3d_compile:failed to an enum
authorNeil Roberts <nroberts@igalia.com>
Fri, 17 Jul 2020 10:49:59 +0000 (12:49 +0200)
committerNeil Roberts <nroberts@igalia.com>
Fri, 24 Jul 2020 10:27:07 +0000 (12:27 +0200)
commit1c8167da612e8710aae8ea797b6bc0f22eac7f6a
treebe91d28af89efa3341bca66b66d253d3ec521912
parent56846a2b682dc702e80ac2bbc187c8e3f5a0cb58
v3d: Changed v3d_compile:failed to an enum

Instead of just having a bool status for the failure, there is now an
enum so that the compilation can report a more detailed status.
Currently this is only used to report whether the failure was due to
failed register allocation. The “failed” bool doesn’t seem to actually
have been used anywhere so this doesn’t really change a lot.

Reviewed-by: Iago Toral Quiroga <itoral@igalia.com>
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5953>
src/broadcom/compiler/nir_to_vir.c
src/broadcom/compiler/v3d_compiler.h
src/broadcom/compiler/vir.c
src/broadcom/compiler/vir_to_qpu.c