Commit graph

198 commits

Author SHA1 Message Date
James Benton
dc1714cefb pm4-replay: Increase ringbuffer size. 2018-10-18 09:16:35 +01:00
James Benton
512ac9693a pm4-replay: Update to use new gpu ringbuffer interface. 2018-10-14 11:35:48 +01:00
James Benton
7a3b9c0b4f New GPU & GX2 command buffer implementation.
- Massive cleanup of gx2 command buffer pool.
- Buffers are now submitted through tcl.rpl.
- Adds a new GPU interrupt system.
- GPU correctly interrupts CPU when required by EVENT_WRITE_EOP to notify
  of a retired command buffer.
- Breaks pm4-replay, fixes coming soon(TM).
2018-10-07 14:45:30 +01:00
James Benton
0345b7f662 Add support for PM4 INDIRECT_BUFFER_CALL_PRIV. 2018-09-29 14:10:48 +01:00
James Benton
1608f31014 Add some missing #ifdef DECAF_VULKAN 2018-09-29 13:50:35 +01:00
James Benton
e87f452497 Fix latte-assembler compile. 2018-09-29 13:25:52 +01:00
James Benton
343aaa08c2 Fix usage of COUNT_3 field. 2018-09-29 04:50:58 -07:00
James Benton
6f5c2eb152 Share renderer code between pm4-replay and decaf-sdl. 2018-09-29 04:34:30 -07:00
Brett Lawson
13d32ef2ca latte: Rename MaxAttributes to MaxAttribBuffers 2018-09-26 02:26:21 -07:00
James Benton
3c9a4facc6 cafe/kernel: Load title info from MCP. 2018-09-12 07:38:11 +01:00
Brett Lawson
dd8da507b4 pm4: Cleaned up scan target handling across PM4. 2018-09-09 01:07:52 -07:00
James Benton
33942f01d3 Fix pm4-replay build. 2018-09-07 14:24:58 +01:00
James Benton
c593b4db52 Update pm4-replay to use physical memory. 2018-09-04 09:41:25 +01:00
James Benton
5cb73d7319 Fix some log format specifiers. 2018-08-29 10:01:54 +01:00
James Benton
0f56666572 tools/latte-assembler: Fix latte-assembler compile. 2018-08-27 16:28:11 +01:00
James Benton
482bcbfceb tools/pm4-replay: Fix pm4 replay. 2018-08-27 16:27:52 +01:00
James Benton
0042b972dc Delete old be_ structures.
These have been replaced by be2_
2018-08-25 19:21:57 +01:00
James Benton
ad05d9c801 Update fmtlib to 5.1.0 and spdlog to 1.1.0 2018-08-25 19:21:57 +01:00
James Benton
22e5322c08 Fix gfdtool for new hle gx2. 2018-08-16 14:39:51 +01:00
James Benton
28ecae6aa1 Fix pm4-replay builds. 2018-06-22 14:48:21 +01:00
James Benton
8bcfa3e527 latte-assembler: Fix zero initialisation. 2018-05-15 17:29:54 +01:00
James Benton
6b5df06d0c Fix CMAKE_AUTOMOC for when Qt is enabled.
We should only be using CMAKE_AUTOMOC inside Qt targets.
2018-05-15 16:12:48 +01:00
comex
593cb8737e Fix parseValueBool 2018-02-18 12:36:55 -08:00
Cornee Traas
d50cb6d96c Compile fix for pm4-replay-qt 2018-02-02 02:31:47 -08:00
James Benton
d186ab3d0c latte-assembler: Adjust some formatting. 2018-01-12 09:37:10 +00:00
James Benton
9550181b5e latte-assembler:
- add --align option.
- add a missing field to writeUniformVarsData.
- align text to 32bit.
2018-01-12 09:26:59 +00:00
aliaspider
8085f4acab latte-assembler: add more missing fields to the comment parser.
(uniformBlocks,uniformVars,initialValues,loopVars,samplerVars).
- fix sq_vtx_semantic and sq_pgm_resources_ps.STACK_SIZE.
2018-01-12 09:21:28 +00:00
aliaspider
9b12bfa39b latte-assembler: fix opcode priorities in grammar.txt 2018-01-12 09:21:27 +00:00
aliaspider
7cc7a268b2 gfd-tool: add GeometryShaderCopyProgram disassembly to printInfo. 2018-01-12 09:21:26 +00:00
James Benton
b7c12c4ce6 Restore .txt extension for log filenames.
spdlog broke it for a few releases, it's fixed now - yay!
2018-01-11 11:40:01 +00:00
James Benton
24f77c3994 common: Rename enumAsString to to_string.
More consistent with std::to_string and fmt::to_string.
2017-09-19 16:00:13 +01:00
James Benton
3696f6ea11 Add MEM0, SRAM0 and SRAM1 memory. 2017-09-19 12:40:32 +01:00
James Benton
1793c456de Add libraries/fmt.
Move spdlog to use external fmt rather than packaged fmt.
2017-09-19 11:54:12 +01:00
James Benton
782e530e36 wiiu-rpc: Use MEM2 heap instead of malloc for server readBuffer. 2017-06-20 01:22:45 +01:00
James Benton
7ba6ec7b8d wiiu-rpc: Fix acquireLibrary always loading coreinit.rpl 2017-06-20 01:11:08 +01:00
James Benton
5b766426ff latte-assembler: Fix unnecessary padding when there are no ALU or TEX clauses. 2017-06-15 18:40:52 +01:00
James Benton
75cbe47f1d cmake: Add wiiu-rpc build to tools if DEVKITPPC and WUT_ROOT is set. 2017-06-15 18:40:52 +01:00
James Benton
545630a8e4 wiiu-rpc: Fix freeing of allocated MEM1. 2017-06-15 18:40:52 +01:00
James Benton
017036a71f wiiu-rpc: Use WHBProc for managing application lifetime. 2017-06-15 18:40:52 +01:00
James Benton
2f9c50ce4c cmake: Fix latte-assembler regenerating the grammar header every build. 2017-06-15 18:40:52 +01:00
James Benton
0f920d578d wiiu-rpc: Use WHB logging functions. 2017-06-15 18:40:52 +01:00
James Benton
5a954424f4 pm4-replay: Add support for dumping frames to TGA files. 2017-05-26 17:59:06 +01:00
James Benton
cc4d146090 latte-assembler: Set shader mode based off whether uniform blocks were read from. 2017-05-11 20:36:42 +01:00
James Benton
d8093b24ae libgpu: Change SQ_CF_WORD0 to use BITFIELD for consistency. 2017-05-11 20:35:02 +01:00
James Benton
e9773ea478 latte-assembler: Remove unnecessary static_assert.
We now use CHECK_SIZE for these structs.
2017-05-11 19:53:46 +01:00
James Benton
b04a559c97 cmake: Fix latte-assembler grammar.h include. 2017-05-11 19:53:45 +01:00
James Benton
7383e01dc3 latte-assembler: Track inst src / dst usage to auto generate some registers. 2017-05-11 19:48:30 +01:00
James Benton
ed79519387 latte-assembler: Add support for TEX clauses. 2017-05-11 01:35:34 +01:00
James Benton
1424ffd602 latte-assembler: Fix opcode lookups for aliased instructions.
These are only aliased to play nice with AMD GPU ShaderAnalyzer.
2017-05-11 00:32:35 +01:00
James Benton
64474663af latte-assembler: Fix issue with LiteralValue -0.0f. 2017-05-11 00:32:28 +01:00