mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 23:30:10 +01:00
i965: Stop including brw_cfg.h in brw_disasm_info.h
The brw_disasm_info header is included by certain tools in order to get
shader assembly from binaries so it's a semi-external header. Including
brw_cfg.h also pulls in brw_shader.h so you end up getting quite a bit
of our back-end compiler internals. Instead, make the couple of forward
declarations we need and make the header more stand-alone. This fixes
the meson build.
Reviewed-by: Matt Turner <mattst88@gmail.com>
Fixes: 4f82b17287
This commit is contained in:
parent
0a6a137eb2
commit
1eab327ba7
1 changed files with 5 additions and 1 deletions
|
|
@ -24,12 +24,16 @@
|
|||
#ifndef _INTEL_ASM_ANNOTATION_H
|
||||
#define _INTEL_ASM_ANNOTATION_H
|
||||
|
||||
#include "brw_cfg.h"
|
||||
#include "compiler/glsl/list.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
struct cfg_t;
|
||||
struct backend_instruction;
|
||||
struct gen_device_info;
|
||||
|
||||
struct inst_group {
|
||||
struct exec_node link;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue