2 Commits

Author SHA1 Message Date
ivall 61492f6694 3D (thick and thin) and linear textures
- 3D thick modes (4KB_S, 64KB_S / S_T, 4KB_S_X, 64KB_S_X, 64KB_D_X): addrlib's S3 / S3_X /
  S3_T / D3_X patterns (PATTERNS_3D, scripts/gen_tiling.py), blocks that tile x, y and z,
  the mip chain per layer of block_d depth slices with the thick mip tail rule.
- Thin 3D modes and linear textures (rows padded to 256 bytes) as 2D per depth slice.
- texture::subresources / upload: one subresource per level with its depth slices.
- Retail TTPF: the header's dimension field; the 3 volume LUTs are thick (the model now fits
  909 of 912 textures, neighbouring texels 5-17x closer than read as 2D slices); GPU test
  uploads thick, BC1 3D, linear 3D and linear 2D textures bit for bit.
2026-11-21 16:53:59 +01:00
ivall a21d3dfdd4 Session 5: console DLLs, tiling, BVH format, compute PSO translation
- Recompiler: compute mode (COMPUTE_PGM_RSRC2 ABI), wave32-in-wave64 split for VS/PS,
  SV_VertexID/SV_InstanceID via ISG1 registers, DXIL precompile tool, global/flat atomics
  (incl. float min/max via CAS), sub-dword buffer and LDS accesses
- GFX10 texture tiling from AMD addrlib patterns (verified against retail texture layouts)
- BVH: RDNA2/GPURT node format (box16/box32, triangle pairs, triangle id swizzle, instances,
  256-byte header), builder + CPU mirror; confirmed on the console XboxBvhBuilder's own output
- kernelx: title physical pages over UMA, XMemVirtualQuery, XMemGetWorkingSetStatistics,
  OutputDebugString to the XCL log; xaudio2_9 ordinals
- D3D12.X: console-only root signature flags stripped, console device slot 62
  (CreateComputePipelineState variant) via split thunks, compute PSOs with translated
  console CS, XCL_D3D12_TRACE call tracing
- Tests: console DLLs from the game package (CRT, Bink decode, BVH prebuild sizes and
  rehydration), GPU tests for the new node forms; DXC -O0 threshold lowered to 48 KB
2026-11-20 23:44:39 +01:00