mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 20:35:27 +00:00
e6e828362e2b2e2d29c674fc104d5d3086a76f49
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
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
Please visit https://xemu.app for more information.
Description
Languages
C
82.6%
C++
7%
Python
3.3%
Dylan
2.8%
Shell
1.5%
Other
2.5%