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:
Dylan Baker
2018-09-14 12:57:32 -07:00
parent 289f02d1d5
commit 8e3696137f
218 changed files with 843 additions and 952 deletions

View File

@@ -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;
}

View File

@@ -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"

View File

@@ -26,7 +26,6 @@
*/
#include "nir.h"
#include <util/imports.h>
/**
* SSA-based copy propagation