[Good First Issue] Add unit test vectors for BC6H HDR, depth/stencil, and RGB9E5 formats in xg_xs swizzle tests #4

Closed
opened 2026-11-26 19:10:41 +00:00 by github-bot · 0 comments
Owner

@⁠californiaAlmonds on GitHub · 2026-11-21 17:37 UTC · original

Goal

Strengthen xg_xs GFX10 texture tiling coverage (src/gpu/xg_layout.cpp, src/shims/xg_xs_shim.cpp) with deterministic roundtrip test vectors for tricky real-world GPU formats:

  • DXGI_FORMAT_BC6H_UF16 / DXGI_FORMAT_BC6H_SF16 (HDR compressed blocks)
  • DXGI_FORMAT_R9G9B9E5_SHAREDEXP (shared-exponent HDR textures heavily used in modern upscalers & lighting)
  • DXGI_FORMAT_D32_FLOAT / DXGI_FORMAT_D24_UNORM_S8_UINT (depth/stencil surfaces)
  • Non-power-of-two mip chains (e.g., 300x180, 1920x1080) and 3D thick-tiled LUTs (32x32x32).

Acceptance criteria

  • Bit-exact swizzle → deswizzle roundtrips for every format & mip level in CTest.
  • Zero compiler warnings at /W4.
**@⁠californiaAlmonds** on GitHub · 2026-11-21 17:37 UTC · [original](https://github.com/californiaAlmonds/OpenScarlett/issues/4) ## Goal Strengthen `xg_xs` GFX10 texture tiling coverage (`src/gpu/xg_layout.cpp`, `src/shims/xg_xs_shim.cpp`) with deterministic roundtrip test vectors for tricky real-world GPU formats: - `DXGI_FORMAT_BC6H_UF16` / `DXGI_FORMAT_BC6H_SF16` (HDR compressed blocks) - `DXGI_FORMAT_R9G9B9E5_SHAREDEXP` (shared-exponent HDR textures heavily used in modern upscalers & lighting) - `DXGI_FORMAT_D32_FLOAT` / `DXGI_FORMAT_D24_UNORM_S8_UINT` (depth/stencil surfaces) - Non-power-of-two mip chains (e.g., `300x180`, `1920x1080`) and 3D thick-tiled LUTs (`32x32x32`). ## Acceptance criteria - Bit-exact swizzle → deswizzle roundtrips for every format & mip level in CTest. - Zero compiler warnings at `/W4`.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 19:10:41 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.