diff options
| author | d7ommy <abnalstlll@gmail.com> | 2026-11-25 14:55:33 +0300 |
|---|---|---|
| committer | d7ommy <abnalstlll@gmail.com> | 2026-11-25 14:55:33 +0300 |
| commit | fb3552fdde8d8e7a79fafa6a1d10eb9bf9746455 (patch) | |
| tree | 00ff1d4164aac37460a737e748d41059e2b69476 /runtime/src/main.cpp | |
| parent | bcaa13dad35f560748bd9b6293cd46504fe288c6 (diff) | |
rdna2spirv: apply src0 float modifiers after bound_ctrl zero selection (SHADER-DPP-NEG-BOUND-CTRL)
In Gen.dpp_insn, apply src0 input float modifiers (neg/abs) after the bound_ctrl
zero selection rather than before the lane shuffle. On RDNA3 hardware (measured
by @mcpeacebir-lang on an RX 7800 XT in HW-DPP-NEG-INVALID-LANE), reading an invalid
lane under bound_ctrl:1 with -src0 produces -0.0f (0x80000000) and with |src0| produces
+0.0f (0x00000000).
Adds semantic test tests/semantic/test_dpp_bound_ctrl_modifiers.py and updates
the DPP contract row in docs/design.md.
AI-assisted (Claude Code)
Diffstat (limited to 'runtime/src/main.cpp')
0 files changed, 0 insertions, 0 deletions