Commit Graph

3 Commits

Author SHA1 Message Date
18d8ff0bf8 rdna2spirv, lane_masks: distinguish wave64 vcc_lo/vcc_hi data writes from half-mask writes 2026-11-22 08:51:47 -08:00
2e5c0f283c Tests: follow #1104's OOB_SELECT bounds and #1136's cs_imgload_d16
test_carry_exec_mask (#1109) and test_wave64_vcc_half_write (#1125) stored through a V# with word3 = 0, which is
OOB_SELECT 0 (structured with offset) with stride 0: since #1104 every store is out of range, as on RDNA2, and the
tests read back nothing. They now use the raw-buffer V# (OOB_SELECT 3) the other semantic tests use.
test_shader_checks counts the third vk_store_test check (#1136) and its fake harness answers it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 03:12:34 -05:00
f4dbf5ac7a Translator: a wave64 write to vcc_lo or vcc_hi sets only that half of the VCC mask
In wave64 a 32-bit write to vcc_lo stored all 64 lanes of the VCC lane mask,
and one to vcc_hi only reached the %vcc_hi data word that no VCC reader
looks at. Write the named half of the mask, as exec_lo/exec_hi do; VCC as
data is unchanged.
2026-11-22 12:48:29 +05:30