diff options
author | Dave Airlie <airlied@redhat.com> | 2021-12-07 16:34:48 +1000 |
---|---|---|
committer | Marge Bot <emma+marge@anholt.net> | 2021-12-07 23:59:58 +0000 |
commit | 9265d1d62db41f2693ff42db2284eb1765eb8469 (patch) | |
tree | 2c10229f74ce5f9c298865e41a4de54dccdaa61d | |
parent | 3f35b5fdc9c8a08248c68f2393c115db22fb433d (diff) |
brw/compiler: drop mtypes.h from compiler
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>
-rw-r--r-- | src/gallium/drivers/iris/iris_performance_query.c | 2 | ||||
-rw-r--r-- | src/intel/compiler/brw_compiler.h | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_performance_query.c b/src/gallium/drivers/iris/iris_performance_query.c index 8e8d8bf9357..d4a1d46b308 100644 --- a/src/gallium/drivers/iris/iris_performance_query.c +++ b/src/gallium/drivers/iris/iris_performance_query.c @@ -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; diff --git a/src/intel/compiler/brw_compiler.h b/src/intel/compiler/brw_compiler.h index 2d9d468b034..2fd94315d1f 100644 --- a/src/intel/compiler/brw_compiler.h +++ b/src/intel/compiler/brw_compiler.h @@ -26,9 +26,12 @@ #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" { |