remove final imports.h and imports.c bits
This moves the fi_types to a new mesa_private.h and removes the imports.c file. The vast majority of this patch is just removing pound includes of imports.h and fixing up the recursive includes. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3024>
This commit is contained in:
@@ -37,7 +37,6 @@
|
||||
#include "compiler/nir/nir_builtin_builder.h"
|
||||
#include "compiler/nir/nir_deref.h"
|
||||
#include "main/errors.h"
|
||||
#include "util/imports.h"
|
||||
#include "main/mtypes.h"
|
||||
#include "main/shaderobj.h"
|
||||
#include "util/u_math.h"
|
||||
@@ -903,7 +902,7 @@ deref_get_qualifier(nir_deref_instr *deref)
|
||||
if (field->memory_restrict)
|
||||
qualifiers |= ACCESS_RESTRICT;
|
||||
}
|
||||
|
||||
|
||||
parent_type = cur->type;
|
||||
}
|
||||
|
||||
|
@@ -86,7 +86,7 @@
|
||||
#include "util/u_string.h"
|
||||
#include "util/u_math.h"
|
||||
|
||||
#include "util/imports.h"
|
||||
|
||||
#include "main/shaderobj.h"
|
||||
#include "main/enums.h"
|
||||
#include "main/mtypes.h"
|
||||
|
@@ -26,7 +26,6 @@
|
||||
*/
|
||||
|
||||
#include "nir.h"
|
||||
#include <util/imports.h>
|
||||
|
||||
/**
|
||||
* SSA-based copy propagation
|
||||
|
Reference in New Issue
Block a user