Commit graph

4506 commits

Author SHA1 Message Date
Brett Lawson
1a11598e61 Yea, of course pitch is aligned to 32bytes... 2015-10-28 02:56:11 -03:00
Brett Lawson
dae8f3056d Everything works except for swizzle with 11th bit. 2015-10-28 02:56:11 -03:00
James Benton
68ea09b161 Initial rewritten untile implementation. 2015-10-28 02:56:11 -03:00
James Benton
b4f40e792b Build macro system so we can generate enum strings. 2015-10-28 02:56:11 -03:00
Brett Lawson
898f847d18 Dump untiled texture data to DDS. 2015-10-27 21:41:37 -03:00
James
c5e9c0b6d7 Merge pull request #67 from archshift/no-anon-decl
trace.h: don't declare TraceFieldValue::ValueType in anonymous union
2015-10-27 22:48:16 +00:00
James
7fd10ad9df Merge pull request #71 from archshift/kill-long
Wrap or change bound functions with `long` return values
2015-10-27 22:47:58 +00:00
Brett Lawson
21b35bf52f Return to ignoring buffer locations again. 2015-10-27 03:41:28 -04:00
Brett Lawson
24cd5532cb Ensure BUFFER_VIEW objects are zerod. 2015-10-27 03:37:24 -04:00
Brett Lawson
403db59a85 Fix debug assertion error with display lists. 2015-10-27 03:25:08 -04:00
Brett Lawson
9fc3f241e1 Store uniform data directly in display lists. 2015-10-27 02:50:58 -04:00
Brett Lawson
b876162da9 Fix incorrect quad indexing (again).
This time its based on actual data coming from GX2.
So it should be correct...
2015-10-27 02:46:35 -04:00
Brett Lawson
4a2948bfd9 Fix minor issues with the handling of attribute buffers. 2015-10-27 02:33:53 -04:00
Brett Lawson
9f73fe9276 Ensure we die from an unimplemented attribute type. 2015-10-27 02:33:48 -04:00
Brett Lawson
391e75e851 Throw instead of assert so it fails in Release mode. 2015-10-27 02:33:42 -04:00
Brett Lawson
d6b3925cce Always use debug shaders for emulator state too. 2015-10-27 12:49:50 -03:00
Brett Lawson
9db9c22ebb Compiling display lists should be core-specific. 2015-10-27 02:45:37 -04:00
Brett Lawson
7e489cf270 Only set the used vertex buffers instead of all of them. 2015-10-27 02:32:23 -04:00
Brett Lawson
a9047d72fc Implement GX2GetSystemDRCMode 2015-10-27 03:33:50 -03:00
Brett Lawson
c1f8a5786c Had quad triangulation incorrectly ordered. 2015-10-27 03:12:44 -03:00
Brett Lawson
27a9025ef4 Fix incorrect log level. 2015-10-27 02:35:41 -03:00
Brett Lawson
5e0befc005 Merge pull request #70 from archshift/cpp-sleep
Use stdlib's sleep_for() function instead of Windows Sleep()
2015-10-27 01:09:56 -03:00
Brett Lawson
630b2b81fa Handle uniform blocks properly. 2015-10-27 01:03:56 -03:00
Brett Lawson
3bd6a9ab42 Always compile shaders in debug mode. 2015-10-27 01:03:56 -03:00
Brett Lawson
130084ae3f Fix typo in assertions for hlsl_generator which broke debug builds. 2015-10-27 01:03:56 -03:00
Brett Lawson
7e05257dc1 Upload all GPRs instead of just a subset. 2015-10-27 01:03:56 -03:00
Brett Lawson
3474f432c7 Merge pull request #69 from archshift/explicit-include-header
Explicitly include various header files
2015-10-27 00:25:18 -03:00
archshift
722a3f71c7 zlib125_core: wrap zlib functions to use uint32_t instead of uLong
long can be 32-bit or 64-bit depending on the platform, so we use
uint32_t to be portable.
2015-10-26 20:17:19 -07:00
archshift
e6be7ca90d OSCheckActiveThreads: use int32_t instead of long for guaranteed 32 bits 2015-10-26 20:16:17 -07:00
archshift
4de27560a6 Use stdlib's sleep_for() function instead of Windows Sleep() 2015-10-26 20:09:34 -07:00
Brett Lawson
0ed06783d2 Merge pull request #68 from lioncash/unused
interpreter_condition: Remove unused variable
2015-10-27 00:08:37 -03:00
Brett Lawson
108327bf8d Properly handle gpu conversion from kcachebanks to uniform blocks. 2015-10-27 00:08:03 -03:00
archshift
13ae44d9e2 Explicitly include various header files
These header files were implicitly included, to the point where
their contents were not able to be found on non-MSVC build systems.
2015-10-26 20:03:25 -07:00
Lioncash
1a50fc4db7 interpreter_condition: Remove unused variable 2015-10-26 22:26:40 -04:00
Brett Lawson
3509cb7711 Fix tracePrintSyscall(0) doing nothing... 2015-10-26 23:07:03 -03:00
James Benton
2e0da25686 Add log.cpp 2015-10-26 21:41:06 +00:00
James Benton
5177abc194 Start of some Uniform Block stuff. 2015-10-26 21:21:15 +00:00
James Benton
98451e9239 Implement relative addressing with AR. 2015-10-26 19:47:23 +00:00
James Benton
361ef9c4de Allow gsh-disassemble to read standalone shaders. 2015-10-26 19:47:22 +00:00
James Benton
e4eb857a8d Add --no-log-stdout option. 2015-10-26 19:47:22 +00:00
James Benton
21e81325ee Remove old codetests.
These have been replaced by automatic generated hwtest suite.
2015-10-26 19:47:21 +00:00
James Benton
1f0d59f141 Add some more types to GX2UniformType. 2015-10-26 19:47:21 +00:00
Brett Lawson
b7da3604a5 Added syscall tracing. 2015-10-26 15:38:30 -03:00
Brett Lawson
953ed01a35 Implement sampler initializer stubs. 2015-10-25 23:44:39 -04:00
Brett Lawson
e1a3dcc862 Handle GPU timestamping incorrectly, but acceptably. 2015-10-26 14:31:25 -03:00
Brett Lawson
8f52532200 Log some graphics calls to debug log. 2015-10-26 14:31:25 -03:00
Brett Lawson
69d5a94d44 Fix minor display list bug. 2015-10-26 14:31:25 -03:00
Brett Lawson
cab22a9b86 Better bad implementation of GX2GetContextStateDisplayList. 2015-10-26 14:31:24 -03:00
Brett Lawson
095998e139 Turn off OSIsDebuggerPresent so games OSReport instead of tw (Trap). 2015-10-26 14:31:24 -03:00
Brett Lawson
4d09e6c0df Implement nn::act::GetMii NoAccount stub. 2015-10-26 14:31:24 -03:00