Commit graph

5222 commits

Author SHA1 Message Date
Brett Lawson
2043d738bc Fix incorrect use of host instead of GHS constant. 2015-08-26 19:56:31 -04:00
Brett Lawson
4a82ef3e16 Added more GHS function implementations. 2015-08-26 19:53:46 -04:00
Brett Lawson
4e666b53c3 Added section tracking and printing to Loader. 2015-08-26 19:43:22 -04:00
Brett Lawson
e809101d77 Fix bug in be_wfunc_ptr proxy. 2015-08-26 19:42:48 -04:00
Brett Lawson
0ff707b929 Significant refactoring of loader code.
Added some better tracer stuff, be_wfunc_ptr proxy, and
some other things...
2015-08-26 16:04:48 -03:00
Brett Lawson
c254e27040 Added be_data to allow allocations in PPC code. 2015-08-26 16:04:48 -03:00
James Benton
ffcb2ca94b Move d3d12 libs to a pragma for conditional compilation. 2015-08-25 18:41:25 +01:00
James Benton
e8c56e1a74 Update the disassemble cals in gx2dx12_shaders.cpp 2015-08-25 18:30:53 +01:00
James Benton
12bad825d6 Move NOMINMAX to project settings. 2015-08-25 18:30:37 +01:00
James Benton
5ec1f9c932 Fix wiiu.vcxproj 2015-08-25 18:25:33 +01:00
James Benton
889d9e1b87 More work on hlsl generation. 2015-08-20 00:10:33 +01:00
James Benton
990088ff2a Start work on HLSL generation. 2015-08-18 23:48:26 +01:00
James Benton
79f34773d4 Further work on shader decompiler.
Can now break it down into AST-like blocks of code.
2015-08-17 01:22:31 +01:00
Brett Lawson
b611dcf047 Added some things related to SHT_RPL_EXPORTS 2015-08-14 13:09:34 -03:00
James Benton
65a0438900 Start the shader decompiler. 2015-08-14 00:32:10 +01:00
Brett Lawson
5fa8aa4a41 Added shader printing for fetch shader data. 2015-08-13 01:01:54 -04:00
Brett Lawson
23cfda2b23 Added some shader disassemblering. 2015-08-13 13:16:10 -03:00
James Benton
bbe271542d Add EXPORT instructions to latte disassembler. 2015-08-13 01:09:57 +01:00
James Benton
68ecc81cdc Change rpx path to a std::string.
Fixes memory corruption for unlucky people.
2015-08-13 17:09:28 +01:00
James Benton
5e4ec15e2f Make the log fileoutput always flush. 2015-08-13 17:09:27 +01:00
Brett Lawson
905ccee469 Ensure setup command list executes before first frame starts. 2015-08-12 22:39:35 -04:00
Brett Lawson
883a8ed57b Fix rendertarget assignment warnings. 2015-08-12 22:34:15 -04:00
Brett Lawson
77eddd1c94 Fix DX12 warning. 2015-08-12 22:26:46 -04:00
Brett Lawson
b820837e8b Fixed bug where first HostLookupTable entry is always lost. 2015-08-12 22:20:37 -04:00
Brett Lawson
dab346a2c8 Added GX2ContextState HW "State Mirroring". 2015-08-12 22:17:14 -04:00
Brett Lawson
979c421e9f Added support for render target assignment and depth buffer creation. 2015-08-12 21:21:41 -04:00
Brett Lawson
34f2d3d42d Added GX2 viewport and scissor-rect control. 2015-08-12 21:04:19 -04:00
Brett Lawson
cc1f3b8fd0 More GX2 drawing related shenanigans. 2015-08-12 21:13:02 -03:00
James
1bfe77fe90 Update README.md 2015-08-12 20:42:51 +01:00
Brett Lawson
2863221914 Retargetted application to Windows 10 SDK and DirectX 12. 2015-08-11 22:15:00 -04:00
James
cae17a43f1 Merge pull request #31 from Kinnay/master
Ori and oris shouldn't update the cr
2015-08-07 23:08:38 +01:00
Yannik Marchand
754a907719 Ori and oris shouldn't update the cr 2015-08-08 00:00:32 +02:00
James Benton
5d51cbd371 Add number of srcs to ALU ops. 2015-08-05 23:56:19 +01:00
James Benton
1e6acf64f2 Start shader disassembler. 2015-08-05 23:26:20 +01:00
Brett Lawson
0cca5bf670 Improve GX2 implementation basics. 2015-08-04 00:05:31 -04:00
Brett Lawson
ed08088f47 Added glbinding library to simplify OpenGL usage. 2015-08-04 00:05:24 -04:00
Brett Lawson
30e63f008d Began work on implementing GX2 stuff. 2015-08-03 21:18:07 -04:00
James Benton
9aee619f1c Set GX2SetStencilMask types to uint8_t. 2015-08-03 00:50:11 +01:00
James Benton
64dd4cb667 Stub ProcUIRegisterCallback, ProcUISetMEM1Storage. 2015-08-03 00:49:01 +01:00
James Benton
cda24be63f Litter the code with TODO.
I like to be able to search for TODO statements
to remind me what needs to be done ;).
2015-08-03 00:48:42 +01:00
James Benton
8da3541ec8 Stub OSEnableHomeButtonMenu, OSBlockThreadsOnExit 2015-08-03 00:47:34 +01:00
James Benton
52aaccb5ec Stub GX2SetPixelUniformReg, GX2SetShaderModeEx 2015-08-03 00:13:33 +01:00
James Benton
bbd9cafb09 Stub GX2InitSampler 2015-08-03 00:13:24 +01:00
James Benton
1503a582f5 Stub GX2SetClearDepthStencil, GX2SetAttribBuffer, GX2DrawEx 2015-08-03 00:12:49 +01:00
James Benton
5104dc8cff Stub GX2GetLastFrame, GX2GetLastFrameGamma, GX2CopyColorBufferToScanBuffer 2015-08-03 00:12:38 +01:00
James Benton
b80a3f88a8 Rename gx2_core to gx2_context 2015-08-03 00:12:18 +01:00
James Benton
0141a488e8 Workaround wglMakeCurrent randomly failing. 2015-08-02 21:28:43 +01:00
James Benton
89494f5dcc Fix OSAlarm to use OSTime as a time base instaed of OSGetSystemTime. 2015-08-02 15:41:52 +01:00
James Benton
3d3543c45a Fix OSSetAlarm using the wrong start time. 2015-08-02 15:41:30 +01:00
James Benton
1304f48119 Use TCHAR for Windows API. 2015-08-02 15:33:43 +01:00