mesa/src/intel
Ian Romanick 23bd356b42
Some checks are pending
macOS-CI / macOS-CI (dri) (push) Waiting to run
macOS-CI / macOS-CI (xlib) (push) Waiting to run
brw/nir: nir_intrinsic_load_reloc_const_intel may not be scalar [v3]
If the (NIR) destination is a register (i.e., not an SSA value), the
destination of the BRW instruction will not be is_scalar. This occurs in
some shaders in Final Fantasy XVI (and
finalfantasytype0_1.rdc.2826e29da3722a83.1.foz).

If the destination is not is_scalar, revert most of this code to the
state previous to f3593df877. This means

- Allocate a SIMD1 register and UNDEF it.
- Emit a SIMD1 MOV_RELOC_IMM to that register.
- Emit an additional MOV to expand the SIMD1 result.

Closes: #12520
Fixes: f3593df877 ("brw/nir: Treat load_reloc_const_intel as convergent")
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37384>
2025-09-29 16:48:07 +00:00
..
blorp blorp: add missing pipecontrol after 3DSTATE_WM_HZ_OP for Xe2+ 2025-09-26 10:07:18 +00:00
ci anv: use the color_map if present for calculating color_mask 2025-09-24 21:47:42 +00:00
common intel: Convert getenv() to os_get_option() 2025-09-25 17:01:18 -06:00
compiler brw/nir: nir_intrinsic_load_reloc_const_intel may not be scalar [v3] 2025-09-29 16:48:07 +00:00
decoder intel/decode: Add support to new version of Xe KMD devcoredump with canonical addresses 2025-09-26 16:15:53 +00:00
dev intel: Convert getenv() to os_get_option() 2025-09-25 17:01:18 -06:00
ds intel: Convert getenv() to os_get_option() 2025-09-25 17:01:18 -06:00
executor intel/executor: Add examples for srnd 2025-09-24 17:18:37 +00:00
genxml anv: Add support for AV1 film grain sythesis on Xe2+ 2025-09-22 14:41:48 +00:00
isl intel: Convert getenv() to os_get_option() 2025-09-25 17:01:18 -06:00
mda intel/mda: Fix gnu-empty-initializer warning 2025-09-26 08:30:16 +00:00
nullhw-layer build: avoid redefining unreachable() which is standard in C23 2025-07-31 17:49:42 +00:00
perf intel/perf: fix enum type for eu stall props 2025-09-08 14:12:13 +00:00
shaders intel: use common CL args 2025-03-06 00:43:59 +00:00
tools intel/decode: Add support to new version of Xe KMD devcoredump with canonical addresses 2025-09-26 16:15:53 +00:00
vulkan anv: Use image view base-layer in can_fast_clear_color_att() 2025-09-26 19:15:22 +00:00
vulkan_hasvk vulkan: Compute path to write into JSON manifests once, use it everywhere 2025-09-26 10:47:31 +00:00
meson.build intel/mda: Add code to produce mesa debug archives 2025-09-24 23:08:45 -07:00