When tex is depth, instead of copying the depth if it needs to be read only we can instead simultaneously bind a read only depth stencil view and shader resource view at the same time with no cost avoiding copies. If the z buffer is read only then no copies are created and can be safely read. If the z buffer isn't safe to be read then a copy was already created on a previous pass so we don't have to create another copy on the following pass for reading and doing testing.
PCSX2
PCSX2 is a free and open-source PlayStation 2 (PS2) emulator. Its purpose is to emulate the PS2's hardware, using a combination of MIPS CPU Interpreters, Recompilers and a Virtual Machine which manages hardware states and PS2 system memory. This allows you to play PS2 games on your PC, with many additional features and benefits.
Project Details
PCSX2 has been in development for more than 20 years. Past versions could only run a few public domain game demos, but newer versions can run most games at full speed, including popular titles such as Final Fantasy X and Devil May Cry 3. Visit the PCSX2 compatibility list to check the latest compatibility status of games (with more than 2500 titles tested).
Installers and binaries for both stable and nightly builds are available from our website.
System Requirements
PCSX2 supports Windows, Linux, and Mac platforms. Our setup documentation page contains additional details on software and hardware requirements.
Please note that a BIOS dump from a legitimately-owned PS2 console is required to use the emulator. For more information, visit this page.
Contributing / Building
PCSX2 supports translation into other languages using Crowdin.
See the Contribution Guide for more info on how to contribute.