diff options
| author | Joao vitor alves <177051894+Joaovitor404silva@users.noreply.github.com> | 2026-11-22 10:46:17 -0300 |
|---|---|---|
| committer | Joao vitor alves <177051894+Joaovitor404silva@users.noreply.github.com> | 2026-11-22 12:26:05 -0300 |
| commit | 502c1ce5137f6e76a08a93753397f377a41376f5 (patch) | |
| tree | a78ef4d15905d7e86e6c154d4913d26f2a05ed92 /runtime/src/pe_loader.cpp | |
| parent | 4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff) | |
Runtime: M2 formats test (BC1/BC7 mip chains and a 2D array through a PSO)
Closes M2's open item "texture formats other than R8G8B8A8_UNORM, mips and arrays
through a PSO". d3d12_m2_formats_test samples, through the M2 descriptor path
(heap slots 9/10, CreateShaderResourceView, CreateSampler, two root tables,
translated vs_m2/ps_m2): an 8x8 BC1 and an 8x8 BC7 texture with 4 mips each and
an R8G8B8A8 2D array of 3 slices (new ps_m2_array.asm). Every subresource is
uploaded at its GetCopyableFootprints layout; POINT samplers with MinLOD = MaxLOD
pin each level; a view from mip 1 and two array views check that level and slice
are relative to the view. Blocks use endpoint colours only, so all 12 cases are
compared with the CPU byte for byte (error 0). Validation clean on RTX 4070 Ti
SUPER; no layer change was needed. Synthetic data only, no game files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PiKMETzszqwfnV8QQyzocY
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions