diff options
| author | SweatierKey <53280918+SweatierKey@users.noreply.github.com> | 2026-11-22 20:20:53 +0100 |
|---|---|---|
| committer | SweatierKey <53280918+SweatierKey@users.noreply.github.com> | 2026-11-22 20:20:53 +0100 |
| commit | 9a031d13a6a22146558b87bf52447220e478169a (patch) | |
| tree | cb0a6c4c330589b96320b00ebcf5ffe8f8979c1c /runtime/test/loader_test.cpp | |
| parent | ec8ec4c9a46c6623f1a9c125afd3566da97f1e0c (diff) | |
rdna2spirv: support image_store with d16 packed 16-bit data (FSPX)
Unblocks the remaining FSPX/FSR4 'image_store 2D a16 d16' shader reported in
#2891 (@Raavve):
- Unpack enabled dmask components from consecutive 16-bit halves (low first)
across ceil(popcount(dmask) / 2) VGPRs starting at vData:
- float/norm storage view: IEEE f16 -> f32 via GLSL.std.450 UnpackHalf2x16
- UINT storage view: zero-extended u16 via OpBitFieldUExtract
- SINT storage view: sign-extended i16 via OpBitFieldSExtract
- disabled dmask channels default to 0.
- Works across all STORE_DIMS (1D, 2D, 2D_ARRAY, 3D), with and without a16/glc;
tfe/lwe and unsupported dims stay refused.
- Add tests/semantic/test_image_store_d16.py (spirv_mini_interp bit-exact texel
and coordinate evaluation + spirv-val Vulkan 1.2 native and --wave64-emulate).
Diffstat (limited to 'runtime/test/loader_test.cpp')
0 files changed, 0 insertions, 0 deletions