rpcsx/rpcs3/Emu/RSX
Vincent Lejeune d97cdb9fbf rsx: Gather most rsx commands pretty printing and state modification function in a single file.
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.
2016-07-17 17:31:53 +02:00
..
Common Factorize rsx state 2016-07-07 21:38:57 +02:00
D3D12 Ignore clear if surface target is set to CELL_GCM_SURFACE_TARGET_NONE (#1898) 2016-07-12 21:52:11 +08:00
GL gl: Fix fragment constants streaming (#1907) 2016-07-15 02:25:38 +08:00
Null Threads improved, ID manager improved 2015-12-04 23:37:34 +03:00
VK vk: add missing compare func not_equal (#1876) 2016-07-10 04:32:09 +08:00
CgBinaryFragmentProgram.cpp The rest 2016-05-23 16:22:25 +03:00
CgBinaryProgram.h The rest 2016-05-23 16:22:25 +03:00
CgBinaryVertexProgram.cpp The rest 2016-05-23 16:22:25 +03:00
GCM.cpp rsx: Gather most rsx commands pretty printing and state modification function in a single file. 2016-07-17 17:31:53 +02:00
GCM.h rsx: Gather most rsx commands pretty printing and state modification function in a single file. 2016-07-17 17:31:53 +02:00
GSRender.cpp Header optimizations (#1684) 2016-04-27 01:27:24 +03:00
GSRender.h Header optimizations (#1684) 2016-04-27 01:27:24 +03:00
rsx_cache.cpp RSX shaders cache: group programs by indexes 2016-06-28 12:54:08 +03:00
rsx_cache.h RSX shaders cache: group programs by indexes 2016-06-28 12:54:08 +03:00
rsx_decode.h rsx: Gather most rsx commands pretty printing and state modification function in a single file. 2016-07-17 17:31:53 +02:00
rsx_methods.cpp rsx: Gather most rsx commands pretty printing and state modification function in a single file. 2016-07-17 17:31:53 +02:00
rsx_methods.h rsx: Gather most rsx commands pretty printing and state modification function in a single file. 2016-07-17 17:31:53 +02:00
rsx_utils.cpp Factorize rsx state 2016-07-07 21:38:57 +02:00
rsx_utils.h OpenGL renderer: use correct MVP matrix. Cleanup 2016-06-21 19:56:05 +03:00
rsx_vertex_data.h Factorize rsx state 2016-07-07 21:38:57 +02:00
RSXFragmentProgram.h VP: add few opcodes comment for vec/sca (#1750) 2016-06-10 01:03:43 +03:00
RSXTexture.cpp Factorize rsx state 2016-07-07 21:38:57 +02:00
RSXTexture.h Factorize rsx state 2016-07-07 21:38:57 +02:00
RSXThread.cpp rsx: Gather most rsx commands pretty printing and state modification function in a single file. 2016-07-17 17:31:53 +02:00
RSXThread.h Factorize rsx state 2016-07-07 21:38:57 +02:00
RSXVertexProgram.h VP: add few opcodes comment for vec/sca (#1750) 2016-06-10 01:03:43 +03:00