aco: Only include nir.h in instruction selection.
authorTimur Kristóf <timur.kristof@gmail.com>
Fri, 31 Mar 2023 19:59:33 +0000 (21:59 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 10 Apr 2023 20:01:28 +0000 (20:01 +0000)
commit2ff12679591d3ccbd16f3f5de8a88f6a97275715
tree360deda8b2baba4c3558f3097bea8e3560400fa7
parent8e9d269da6aff0ecce8088c68cddfa43a2126175
aco: Only include nir.h in instruction selection.

Don't recompile entire ACO when something changes in NIR.
Instead, only use some headers which are actually needed,
include these in ACO files instead of relying on nir.h to
include them.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Rhys Perry <pendingchaos02@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22241>
src/amd/compiler/aco_insert_NOPs.cpp
src/amd/compiler/aco_instruction_selection.h
src/amd/compiler/aco_interface.h
src/amd/compiler/aco_ir.h
src/amd/compiler/aco_lower_phis.cpp
src/amd/compiler/aco_print_asm.cpp
src/amd/compiler/aco_register_allocation.cpp
src/amd/compiler/aco_shader_info.h
src/amd/compiler/aco_validate.cpp