mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
A storage write-back copied the image into a linear buffer and retiled that buffer; an upload detiled into a linear buffer and copied it into the image. With storage image access without a format, the retile now reads each texel from the image through an unsigned integer view of the element size, and the detile writes it there, so the linear buffer, its copy and one barrier per move go away. The texels move bit for bit as before, through the same tiling equations and windows. This covers the block-unit windows of write-backs and uploads and the whole-surface direct upload, for 2D, array and cube images. agc_driver_recorder_tests singlePassTests: a first upload, a write-back of new texels in every mip and a second upload over the stored memory leave the images and guest memory byte for byte equal to the copies through a linear buffer, in plain and write-watched memory.