mesa/src/intel/compiler
Ian Romanick 815691378b brw: Use brw_reg_is_arf in update_for_reads
brw_reg::nr encodes both which ARF it is and which instance of that
ARF. In other words, nr for acc0 and acc2 have some bits that say
BRW_ARF_ACCUMULATOR and some bits that say 0 vs 2. The previous test
would only detect acc0.

Fixes: 0d144821f0 ("intel/brw: Add a new def analysis pass")
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
(cherry picked from commit 366410e913)

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40359>
2026-03-11 23:21:09 +01:00
..
brw brw: Use brw_reg_is_arf in update_for_reads 2026-03-11 23:21:09 +01:00
elk elk/cmod: Don't propagate from CMP to ADD if there is a write between 2026-02-25 14:22:22 +01:00
brw_device_sha1_gen_c.py meson: remove '--outdir' argument in script 2025-10-08 20:51:20 +00:00
brw_list.h intel: fork exec_node/list -> brw_exec_node/list as a private Intel utility 2025-07-31 20:23:02 +00:00
intel_gfx_ver_enum.h build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
intel_nir.c intel/compiler: Use nir_split_conversions() 2025-04-07 17:45:21 -05:00
intel_nir.h brw: add support for separate tessellation shader compilation 2025-09-05 07:46:17 +00:00
intel_nir_blockify_uniform_loads.c intel/nir_blockify_uniform_loads: use helpers 2025-10-09 09:50:20 -04:00
intel_nir_clamp_image_1d_2d_array_sizes.c treewide: simplify nir_def_rewrite_uses_after 2025-08-01 15:34:24 +00:00
intel_nir_clamp_per_vertex_loads.c brw: add support for separate tessellation shader compilation 2025-09-05 07:46:17 +00:00
intel_nir_lower_non_uniform_barycentric_at_sample.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
intel_nir_lower_non_uniform_resource_intel.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
intel_nir_lower_printf.c intel: Move intel_shader_reloc to common code and drop elk_shader_reloc 2025-10-09 07:01:46 +00:00
intel_nir_lower_shading_rate_output.c treewide: simplify nir_def_rewrite_uses_after 2025-08-01 15:34:24 +00:00
intel_nir_lower_sparse.c treewide: simplify nir_def_rewrite_uses_after 2025-08-01 15:34:24 +00:00
intel_nir_opt_peephole_ffma.c nir: add nir_alu_instr_is_exact helper 2026-01-07 09:40:57 +00:00
intel_nir_opt_peephole_imul32x16.c treewide: add & use parent instr helpers 2025-11-12 21:22:13 +00:00
intel_nir_tcs_workarounds.c nir: make nir_block::predecessors & dom_frontier sets non-malloc'd 2025-08-21 06:13:48 +00:00
intel_prim.h intel: Re-unify brw_prim.h and elk_prim.h 2025-10-09 07:01:46 +00:00
intel_shader_enums.h intel: Replace signed char with int8_t 2025-12-16 00:58:32 +00:00
meson.build brw: Move into a new src/intel/compiler/brw subdirectory 2025-10-09 07:01:47 +00:00