brw/compiler: drop mtypes.h from compiler
authorDave Airlie <airlied@redhat.com>
Tue, 7 Dec 2021 06:34:48 +0000 (16:34 +1000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 7 Dec 2021 23:59:58 +0000 (23:59 +0000)
This adds a bunch of other headers in, and adds mtypes.h to iris
for perf query object.

Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14104>

src/gallium/drivers/iris/iris_performance_query.c
src/intel/compiler/brw_compiler.h

index 8e8d8bf..d4a1d46 100644 (file)
@@ -25,6 +25,8 @@
 #include "iris_context.h"
 #include "iris_perf.h"
 
+#include "main/mtypes.h"
+
 struct iris_perf_query {
    struct gl_perf_query_object base;
    struct intel_perf_query_object *query;
index 2d9d468..2fd9431 100644 (file)
 
 #include <stdio.h>
 #include "dev/intel_device_info.h"
+#include "main/glheader.h"
 #include "main/macros.h"
-#include "main/mtypes.h"
+#include "main/config.h"
 #include "util/ralloc.h"
+#include "compiler/shader_info.h"
+#include "util/u_math.h"
 
 #ifdef __cplusplus
 extern "C" {