mesa/src/compiler
Karol Herbst 6474f8c2ce clc: include opencl-c.h for extensions needing it
This also allows tools build on clc to drop their workaround to include
it themselves. Rusticl might need it once it supports extensions which
need this file pulled in.

Later if the need to include it changes based on llvm version, we can
easily handle this in clc.

The main reason to include it only conditionally is the massively
reduction in compilation time. It also removes the mental burden from
users of clc to deal with any of this themselves.

Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/10633
Fixes: 37a1346347 ("meson: remove opencl-external-clang-headers option and rely on shared-llvm")
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Acked-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Acked-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27663>
2024-02-21 20:53:36 +00:00
..
clc clc: include opencl-c.h for extensions needing it 2024-02-21 20:53:36 +00:00
glsl glsl: split var copies before lowering named interfaces 2024-02-20 23:29:17 +00:00
isaspec isaspec: encode.py: Include assert.h 2024-02-06 16:38:01 +00:00
nir nir: allow gather info to handle nir_deref_type_array_wildcard 2024-02-20 23:29:17 +00:00
spirv spirv: only consider IO variables when adjusting patch locations for TES 2024-02-21 10:36:07 +00:00
builtin_types.py compiler/types: Use Python to generate code for builtin types 2023-09-16 15:17:01 +00:00
builtin_types_c.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
builtin_types_h.py util,vulkan,mesa,compiler: Generate source files with utf8 encoding from mako template 2023-12-07 12:41:07 +00:00
glsl_types.c compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
glsl_types.h compiler/types: Add a contains_32bit helper 2024-02-12 13:23:14 +00:00
meson.build treewide: Replace the include of nir_types.h with glsl_types.h 2023-12-30 15:08:11 +00:00
shader_enums.c radv: Remove ray_launch_size_addr_amd system value. 2024-02-17 11:08:16 +00:00
shader_enums.h radv: Remove ray_launch_size_addr_amd system value. 2024-02-17 11:08:16 +00:00
shader_info.h compiler: add a vs.tes_agx bit 2024-02-14 21:02:28 +00:00