mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-21 16:12:47 -05:00
A 3D image access bound to a 1D T# matched no runtime image mode and threw "image descriptor is incompatible with the static runtime image interface" (SONIC SUPERSTARS, PPSA06888, which reads a 1x1 1D T# as 3D with a plain image_sample and an image_load). Add a 1D mode for 3D accesses whose only uses are image_sample_lz, plain image_sample or mip-less image_load. Measured on RDNA1 (RX 5700 XT, gfx1010) with the hardware oracle: image_sample_lz reads the texel u selects and ignores v and r with every addressing mode; a plain image_sample takes its texel and LOD from u alone; image_load reads the x texel for any y when z is 0 and returns zero for any other z, as the 3D-on-2D load measured in #2023 does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QQNVXyqeecpyneonkYL6H1