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:
@@ -25,8 +25,6 @@
|
||||
#ifndef ACO_INTERFACE_H
|
||||
#define ACO_INTERFACE_H
|
||||
|
||||
#include "nir.h"
|
||||
|
||||
#include "amd_family.h"
|
||||
|
||||
#include "aco_shader_info.h"
|
||||
@@ -34,6 +32,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
typedef struct nir_shader nir_shader;
|
||||
struct ac_shader_config;
|
||||
struct aco_shader_info;
|
||||
struct aco_vs_prolog_info;
|
||||
|
||||
Reference in New Issue
Block a user