upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/dxgi_com.cpp
diff options
context:
space:
mode:
authorLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 11:36:18 -0300
committerLuiz Neves <luizgustavobenicio@gmail.com>2026-11-22 11:36:18 -0300
commit9620edd22d8ea45a8a781ac00e2ed940ec48283c (patch)
treef7af798a627013ad485dbc2ce696c431d9bbbdef /runtime/shims/dxgi_com.cpp
parent6275ccc6478044890900469c04a072a492a847fc (diff)
sop2_b32_srcs: mask reads only when the result goes to EXEC / VCC
s_and_b32 s20, exec_lo, 1 put each lane's bit in s20, which lane_masks.py classifies as data when the other operand is a constant, so s_bcnt1 of it counted 32 / 0 instead of 1 (found by @Pierre-Kookis on #1792, reproduced on AMD RDNA2 and an RTX 4070 Ti SUPER; main was right). The mask read is now only for an EXEC / VCC destination; into a plain SGPR the op keeps the data read. test_mask_src_sgpr_const.py has the case.
Diffstat (limited to 'runtime/shims/dxgi_com.cpp')
0 files changed, 0 insertions, 0 deletions