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>
This commit is contained in:
Timur Kristóf
2023-03-31 21:59:33 +02:00
committed by Marge Bot
parent 8e9d269da6
commit 2ff1267959
9 changed files with 18 additions and 5 deletions
+1
View File
@@ -25,6 +25,7 @@
#include "aco_ir.h"
#include "util/memstream.h"
#include "util/ralloc.h"
#include <array>
#include <map>