nir: remove gl.h include from nir headers.
authorDave Airlie <airlied@redhat.com>
Wed, 19 Jan 2022 03:23:32 +0000 (13:23 +1000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 19 Jan 2022 21:54:58 +0000 (21:54 +0000)
commitccbf700d6c65059b0b969c02c2ba1275107ca352
treede737861de4ca886905b16b61373452bff3e7540
parent39bfb256271ad553ab2cad0700034cb359653def
nir: remove gl.h include from nir headers.

This saves a lot of pointless gl.h includes across the board,
it moves the one place that needs GLenum into a separate file
only used in those passes that require it.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14605>
src/broadcom/compiler/v3d_compiler.h
src/compiler/glsl/gl_nir_link_atomics.c
src/compiler/glsl/gl_nir_link_uniforms.c
src/compiler/glsl/gl_nir_link_xfb.c
src/compiler/glsl/gl_nir_linker.c
src/compiler/nir/nir.h
src/compiler/nir_gl_types.h [new file with mode: 0644]
src/compiler/nir_types.cpp
src/compiler/nir_types.h
src/mesa/main/glspirv.h