Commit Graph

1178 Commits

Author SHA1 Message Date
Ben Vanik 7b98c748fa Fixing double allocation of memory x_x 2014-06-22 21:03:41 -07:00
Ben Vanik 71eb408d67 Various fiddlings. 2014-06-22 19:41:26 -07:00
Ben Vanik a5448b1296 Fixing pack float16. 2014-06-20 20:48:02 -07:00
Ben Vanik da590bd9cc Disable logging for TlsGetValue. 2014-06-20 20:44:53 -07:00
Ben Vanik 7936fa2dbd Fix constants in pixel shaders. 2014-06-20 20:44:39 -07:00
Ben Vanik 45e149d00b Possibly correct variable EXTRACT_I16. 2014-06-10 21:38:33 -07:00
Ben Vanik 02709e0d65 Optimize EXTRACT_I32(0). 2014-06-10 21:38:17 -07:00
Ben Vanik 4089f405af PACK FLOAT16 seems correct. 2014-06-10 21:36:13 -07:00
Ben Vanik 713cfcb429 Possibly correct FLOAT16 unpack. 2014-06-10 21:35:50 -07:00
Ben Vanik 574a04a853 Preventing emulated instructions from stomping the xmm registers. 2014-06-10 21:33:58 -07:00
Ben Vanik 3845437276 Fix assert to allow 16 fetchers. 2014-06-10 21:06:36 -07:00
Ben Vanik 829b4f67bf ReadFile EOF. 2014-06-10 20:40:11 -07:00
Ben Vanik ff8c03046a VECTOR_COMPARE_UGT/UGE (probably). 2014-06-09 21:29:35 -07:00
Ben Vanik 289075d052 Constant D3DCOLOR UNPACK. Could optimize earlier. 2014-06-09 21:29:15 -07:00
Ben Vanik 5343cab851 Support constant CALL_INDIRECT. 2014-06-09 21:15:13 -07:00
Ben Vanik 95508273f6 Misc experimentation. 2014-06-08 23:11:09 -07:00
Ben Vanik 052dca5010 Const src1 permute. 2014-06-08 22:21:38 -07:00
Ben Vanik 43a3b4f3c0 Support constant value movs to mmio memory. 2014-06-08 22:21:23 -07:00
Ben Vanik 264fc7cc91 Fix assert. 2014-06-08 22:21:05 -07:00
Ben Vanik 6e76c169d6 Proper(ish) VdSwap - fixes a bunch of things.
Caching is working a bit better, now.
2014-06-08 21:24:29 -07:00
Ben Vanik 8337820500 Fiddling with interrupt triggering - still not right. 2014-06-08 11:59:57 -07:00
Ben Vanik daa8a24173 Caching states. 2014-06-08 11:51:53 -07:00
Ben Vanik 6514eaa780 Disabling paged resource caching for now, as it's broken. 2014-06-08 11:25:10 -07:00
Ben Vanik 295910c3d8 Initial refactoring of gpu/.
Runs too fast - now there are ringbuffer wrapping issues.
2014-06-08 11:23:55 -07:00
Ben Vanik 4072640a64 Skeleton of new shared GPU files. 2014-06-02 19:24:33 -07:00
Ben Vanik beb5ee40ee Dirty page table. Not yet used. 2014-06-02 07:49:45 -07:00
Ben Vanik ddbebcda6c Cleanup memory. 2014-06-02 07:11:27 -07:00
Ben Vanik 0e3854555d Pure dynamic MMIO access. Prep for more complex GPU memory management. 2014-06-01 23:36:18 -07:00
Ben Vanik 3a8065b7b1 Vertex buffer caching.
Doesn't help, though, as buffers are weird. Need to rethink all of this.
2014-06-01 09:42:07 -07:00
Ben Vanik 2d173ea62b Caching index buffers. 2014-05-31 22:26:39 -07:00
Ben Vanik 19c48c7a90 Partial texture cache - doesn't invalidate yet. 2014-05-31 17:38:32 -07:00
Ben Vanik 529a1478d8 Sampler state caching. 2014-05-31 16:34:05 -07:00
Ben Vanik 6607606b15 Moving texture code into shared/separate files. Leaking a lot. 2014-05-31 15:42:21 -07:00
Ben Vanik e42460039f Untested PACK float16_2/_4. 2014-05-31 11:23:10 -07:00
Ben Vanik a7c0c1327a Latest xbyak with vcvtph2ps/ps2ph. 2014-05-31 10:47:37 -07:00
Ben Vanik 8be043fbd4 Merge pull request #86 from hlide/master
EXTRACT_I8, EXTRACT_I16, EXTRACT_I32, EXTRACT_F32: properly modified the...
2014-05-31 08:19:03 -07:00
hlide 0598df1d9e Removed weird symbols in x64_sequences.cc 2014-05-31 17:14:40 +02:00
Ben Vanik e45fc3dc56 Reducing profiling forced swap frequency. 2014-05-31 08:13:13 -07:00
Ben Vanik 430d827770 Like, really fixing SELECT. Frogger now runs ^_^ 2014-05-31 08:06:04 -07:00
hlide 8525cf739e Update x64_sequences.cc 2014-05-31 16:51:15 +02:00
hlide 334f744fb8 EXTRACT_I8, EXTRACT_I16, EXTRACT_I32, EXTRACT_F32: properly modified the code in comments 2014-05-31 14:23:22 +02:00
Ben Vanik 002aaab77d Fixing VECTOR_COMPARE_SGE. 2014-05-30 22:36:06 -07:00
Ben Vanik df5d86e78c Tweaking load/store. Nasty. 2014-05-30 22:29:08 -07:00
Ben Vanik 7acbf759e2 Fixing UNPACK D3DCOLOR. Probably. 2014-05-30 21:38:33 -07:00
Ben Vanik 0b42c72ec5 Fixing const propagated DID_CARRY. 2014-05-30 20:09:00 -07:00
Ben Vanik d65b5801f8 Adding hlide's comments for EXTRACT - need to implement/test. 2014-05-30 14:02:15 -07:00
Ben Vanik 691a3d4ade Fixing EXTRACT. 2014-05-30 14:01:52 -07:00
Ben Vanik 1729c8ce6d Constant MIN/MAX. 2014-05-30 14:00:28 -07:00
Ben Vanik 8ba95efdce Fixing mulx usage. 2014-05-30 12:41:48 -07:00
Ben Vanik 6c92e6a5c5 Increasing microprofile stack size, as some of these trees are deep. 2014-05-30 11:44:24 -07:00