Commit graph

5222 commits

Author SHA1 Message Date
Brett Lawson
04f7bf26d3 Added VS2015 Update 1 DB file to .gitignore. 2015-10-29 22:22:02 -04:00
James Benton
fcf8141c53 Fix GetKeyboardState.
Apparently its 256, not 255 values.
2015-10-30 02:20:07 +00:00
James Benton
eb60aea2d8 Fix jit. 2015-10-30 02:20:03 +00:00
James Benton
6978729d78 Add some basic keyboard reading for VPADRead. 2015-10-30 00:52:37 +00:00
James Benton
c8a795e428 Fix OSCheckThreadStackUsage when thread == null. 2015-10-30 00:52:43 +00:00
James
8c7de445bd Merge pull request #83 from archshift/gsl-submodule
Update GSL submodule
2015-10-30 11:22:47 +00:00
Brett Lawson
6806e48d04 Add support for interrupts inside JIT.
Not the best implementation.  In the future we will use
page read-only access to trigger page-faults.
2015-10-30 01:13:43 -03:00
Brett Lawson
12546f2bc2 Support --jit on hwtest mode. 2015-10-30 01:13:42 -03:00
James Benton
055314c8bc Add .gtx file dumper to gx2 debug texture dumper. 2015-10-30 02:49:08 +00:00
Brett Lawson
4914f3bc29 DX12 did not enjoy the new multi-target blending setup. 2015-10-29 23:48:59 -03:00
Brett Lawson
affe953320 Re-enable multiple-target blending controls. 2015-10-29 23:46:46 -03:00
Brett Lawson
55b4020341 Implement texture component selection.
This fixes lots of graphical bugs.
2015-10-29 23:42:04 -03:00
archshift
8ab3e2edba Update GSL submodule
Newest GSL master has build fixes, allowing it to build on non-MSVC
environments unlike the current submodule commit.
2015-10-29 19:33:42 -07:00
Brett Lawson
d3eca1e888 Acquire CPU lock when doing timer interrupt.
This is neccessary to avoid a race condition between
checking for the interrupt and blocking on the wait
condition in the primaryFiber.
2015-10-29 23:16:12 -03:00
Brett Lawson
8aaf346b8d Handle CPU interrupts in a central location.
This also corrects an issue where interrupts were only
handled when there was no other threads to run.
2015-10-29 23:03:42 -03:00
Brett Lawson
a65106aa89 Increase framecount to work around allocator issues for the moment. 2015-10-29 06:00:19 -04:00
Brett Lawson
0aa68844d0 Corrected pipeline state comparison to behave properly. 2015-10-29 16:57:26 -03:00
Brett Lawson
e3d60925ab Minor fixes to alpha blending configuration. 2015-10-29 05:15:17 -04:00
Brett Lawson
5e1624747d Disable MRT state configuration for now. 2015-10-29 05:13:27 -04:00
Brett Lawson
a3961106bf Do a better job of checking PSO equivalency. 2015-10-29 04:17:24 -04:00
Brett Lawson
ca9cffa313 Added support for alpha testing. 2015-10-29 03:40:43 -04:00
Brett Lawson
3ea62fd8f4 Turns out that texture copy boxes have depth too. 2015-10-29 02:21:44 -04:00
Brett Lawson
d04515f7f0 Implement zlib uncompress. 2015-10-29 02:17:57 -04:00
James Benton
5a19b2305c Implement task queue.
Introduce be_volatile for a volatile be_val.
Closes issue #74.
2015-10-29 02:03:15 +00:00
Brett Lawson
1f3c7fa5cb Added specific box to avoid wierd copy errors. 2015-10-29 01:16:02 -04:00
Brett Lawson
100b74f962 Fixup some minor things with GX2FetchShader. 2015-10-29 00:51:37 -04:00
Brett Lawson
a032c94518 Make sure uploaded uniform blocks are aligned. 2015-10-29 00:51:10 -04:00
Brett Lawson
c82e0ff9cf Don't forget to actually set the sampler to the heap. 2015-10-29 00:05:16 -04:00
Brett Lawson
5ab8b08c5f Fix issue causing warnings related to sampler heap usage. 2015-10-28 23:09:44 -04:00
Brett Lawson
aabaf86af0 Improve DX12 pipeline state creation.
Added support for logic ops, and create pipeline states for
each blending type.
2015-10-29 10:04:01 -03:00
Brett Lawson
31e5414056 Use temporary buffers per frame.
Avoids running out of memory in the buffers.
2015-10-28 22:27:08 -04:00
Brett Lawson
6f294f2c22 Added support for samplers to DX12 layer. 2015-10-28 22:21:45 -04:00
James Benton
e48b8d80e9 Fix GX2CalcSurfaceSizeAndAlignment for 1D formats. 2015-10-29 02:37:42 +00:00
James Benton
3bbe6a9fd3 Add static_cast to prevent warning in floatToFixedPoint. 2015-10-29 02:19:41 +00:00
James Benton
76bef0d59f Implement GX2CalcSurfaceSizeAndAlignment.
Change untile integer types to size_t.
2015-10-29 02:14:23 +00:00
James Benton
22b2ab6c50 Reverse most of GX2Sampler data. 2015-10-29 01:53:00 +00:00
James Benton
2c77717dc5 Fix CND*_INT converting outputs. 2015-10-28 21:56:30 +00:00
James Benton
a793c934cc Remove pipeline state flag debug. Nvidia says nono. 2015-10-28 20:14:41 +00:00
Brett Lawson
aeef989e1e Samplers... Arg. 2015-10-28 03:08:32 -04:00
Brett Lawson
4f76499f56 Fix stupid assert and disable depth engine. 2015-10-28 02:46:08 -04:00
Brett Lawson
2ee570184f Fix index data being uploaded incorrectly. 2015-10-28 02:23:01 -04:00
Brett Lawson
8f0f803af6 Lots of random shenanigans... Working on NESR. 2015-10-28 02:18:58 -04:00
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
f4fe207bf9 Create texture converter project. 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