mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-11-17 03:24:19 +01:00
The hypothesis is that game will use a depth (aka Z32/Z24/Z16/Z16S) format when sampling depth texture as color. Technically one could use a standard color format but block/pixel order won't be the same. (otherwise I'm screwed) => Hypothesis invalid on GoW. They just do a scrambled rendering... Lookup info: * The first searched list is the depth pool as we search a depth texture. * 2nd one is the render target pool (if a depth was converted to a render target already) To avoid any CPU overhead, the source will be a pointer to the real texture * Conversion (if float texture) will be done on the fly by the shader (GPU). * Relative rescaling won't be supported. Texture must be fetched with integral coordinate