mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-01-30 04:14:43 +01:00
rsx_decode.h implements a "rsx_decoders" template class that is specialized for most GCM command found in rsx command buffer. 3 static members are defined : a "decode" function that turns command value into a more meaninfull type if applicable (for instance bool for _enabled* command, surface formats for set_surface_format command...), a "commit_rsx_state" that modifies a given rsx_state structure when the command is parsed, and a "dump" function used in rsx_debugger for pretty printing. Hopefully having the 3 functions in a single place for every command will act as a self documenting list of rsx command buffer opcode. rsx_state is also expanded into several explicit variables instead of being stored into a u32 array. This should makes debugging easier (Visual Studio will display the exact value of these member for instance) as well as preparing rsx_state for serialisation/deserialisation. The vertex array and textures opcode are not concerned atm for bisecting purpose. |
||
|---|---|---|
| .. | ||
| Audio | ||
| Cell | ||
| CPU | ||
| Io | ||
| Memory | ||
| PSP2 | ||
| RSX | ||
| DbgCommand.h | ||
| GameInfo.h | ||
| IdManager.cpp | ||
| IdManager.h | ||
| IPC.h | ||
| System.cpp | ||
| System.h | ||
| VFS.cpp | ||
| VFS.h | ||