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>
This commit is contained in:
Dave Airlie 2021-12-07 16:34:48 +10:00 committed by Marge Bot
parent 3f35b5fdc9
commit 9265d1d62d
2 changed files with 6 additions and 1 deletions

View 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;

View file

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