mesa/src/intel
Paulo Zanoni b52b1a08bf intel/blorp: add blorp_shaders.cl
This gives us the infrastructure that allows us to slowly migrate
pieces of blorp shaders from NIR to OpenCL, which, IMHO, are much
easier to read. We can't fully migrate everything due to all the
conditional building we do with these shaders, but I'm sure we'll find
opportunities to replace some NIR with OpenCL eventually.

The conversion of blorp_check_in_bounds() serves as the first example.

I also plan to have the shaders from the new indirect copy extension
be OpenCL shaders (mixed with some NIR as well), so having this patch
merged now will reduce the diff for the extension later.

Thanks to Alyssa Rosenzweig for her help here.

v2:
- Use SPDX (Alyssa).
- Use nir_trim_vector() (Alyssa).
- Adjust CL variable declaration (Alyssa).

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/39046>
2026-01-15 04:34:55 +00:00
..
blorp intel/blorp: add blorp_shaders.cl 2026-01-15 04:34:55 +00:00
ci ci: uprev vkd3d 2026-01-08 14:43:05 +00:00
common intel/tools: Handle new replay properties in the Xe KMD error dump file 2026-01-07 19:16:25 +00:00
compiler brw: switch buffer/image size intrinsics lowering to NIR 2026-01-14 10:37:32 +00:00
decoder intel/decoder: make libvulkan_intel to depend on stub decoder when buildtyle=release. 2025-11-24 16:40:02 +08:00
dev anv: Add support to DRM_XE_GEM_CREATE_FLAG_NO_COMPRESSION 2026-01-06 06:39:32 -08:00
ds anv: instrument resource barriers instruction in u_trace 2025-12-15 08:25:42 +00:00
executor meson: make dep_lua a disabler 2025-11-21 21:48:57 +00:00
genxml intel: rename DCFlushEnable to ForceDeviceCoherency 2025-12-15 08:25:39 +00:00
isl intel/isl: Only assert surface addresses on gfx9+ 2025-12-12 18:06:16 +00:00
mda intel/mda: Handle better processing a lot of archives 2025-12-13 01:21:08 +00:00
nullhw-layer build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
perf ALL: use SHA1_DIGEST_LENGTH etc. instead of hardcoding the numbers 2026-01-07 08:32:33 +00:00
shaders util/glsl2spirv: Use better glslang flag for -Olib 2025-11-20 02:14:50 +00:00
tools intel/hang_replay: add option to dump VM state as part of the dump 2026-01-07 19:16:25 +00:00
vulkan brw: drop unused color_outputs_valid key 2026-01-12 20:21:48 +00:00
vulkan_hasvk hasvk: restore anv_is_aligned() 2026-01-15 04:20:29 +00:00
meson.build brw: Move into a new src/intel/compiler/brw subdirectory 2025-10-09 07:01:47 +00:00