mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-23 00:53:02 -05:00
A 3D image access bound to a 2D T# matched no runtime image mode and threw "image descriptor is incompatible with the static runtime image interface" (Sonic Origins, #2023). CouchRiv measured RDNA2 (gfx1036) with the hardware oracle: image_sample_lz with dim 3D ignores r and reads the (u,v) texel, and image_load reads the (x,y) texel when z is 0 and returns zero otherwise. Add a 2D mode for 3D accesses whose only uses are those two forms, and make the load return zero for z != 0. Every other access keeps throwing. Fixes #2023 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>