aco: rework the way various compilation/validation errors are reported
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 14 Aug 2020 08:42:27 +0000 (10:42 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Thu, 20 Aug 2020 06:15:06 +0000 (08:15 +0200)
commitc2b1978aa47c5b8876a589aa035a670d55e87c2e
tree2f243896f78097b681131d3fd29c331f911ce4a9
parentbc723dfda7b3e6b4671b068785c50bd49aa27ee8
aco: rework the way various compilation/validation errors are reported

The upcoming change will allow to report all ACO errors (or warnings)
directly to the app via VK_EXT_debug_report. This is similar to what
we already do for reporting various SPIRV->NIR errors.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6318>
src/amd/compiler/aco_assembler.cpp
src/amd/compiler/aco_instruction_selection.cpp
src/amd/compiler/aco_interface.cpp
src/amd/compiler/aco_ir.h
src/amd/compiler/aco_live_var_analysis.cpp
src/amd/compiler/aco_optimizer.cpp
src/amd/compiler/aco_register_allocation.cpp
src/amd/compiler/aco_validate.cpp
src/amd/compiler/tests/helpers.cpp