mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-05 13:35:31 +00:00
Hardware transparently supports passing 2D textures to operations that
are intended to operate on cubemaps. This change introduces a remapping
function to mimic the hardware behavior in cases where the texture
sampler does not match the expectations of the texture mode.
Fixes #1622
Tests: 4a1fde9085/src/tests/texture_2d_as_cubemap_tests.cpp (L79)
HW results: https://abaire.github.io/nxdk_pgraph_tests_golden_results/results/Texture_2D_as_cubemap/index.html