Commit Graph

3 Commits

Author SHA1 Message Date
abbd7d9b27 Document the boot profile and verify descriptor guards and per-device GPU completion
Keep completion batches with their owning Vulkan context. Test switching primitives, caller overrides, and the dynamic EXEC and uniform null-descriptor guards used for dimension-specific storage views.
2026-11-24 21:40:02 +08:00
e1984b9654 test(semantic): align cube storage image expectation in test_image_store_d16 with #6805
Commit 896b56c6a (#6805) added support for image_store on SQ_RSRC_IMG_CUBE
by binding cube storage images as 6-layer 2D arrays. Consequently,
storing to SQ_RSRC_IMG_CUBE with d16 now translates successfully and no
longer raises Unsupported, causing test_unsupported_dims_and_modifiers_still_refused
to fail on main.

Update test_unsupported_dims_and_modifiers_still_refused to check an
actual unsupported dimension (SQ_RSRC_IMG_1D_ARRAY), and add
test_cube_storage_image_d16_translates to verify that cube image_store with
d16 translates to valid SPIR-V.
2026-11-23 22:53:03 +03:00
9a031d13a6 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).
2026-11-22 20:20:53 +01:00