[Mesa-dev] [PATCH] i965: Stop including brw_cfg.h in brw_disasm_info.h

Matt Turner mattst88 at gmail.com
Sat Nov 18 01:51:13 UTC 2017


On Fri, Nov 17, 2017 at 5:31 PM, Jason Ekstrand <jason at jlekstrand.net> wrote:
> 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.
>
> Cc: Matt Turner <mattst88 at gmail.com>
> Fixes: 4f82b17287194ca7d10816f6cfe4712a3e0a03fc

Reviewed-by: Matt Turner <mattst88 at gmail.com>

Thanks!


More information about the mesa-dev mailing list