Commit Graph

1584 Commits

Author SHA1 Message Date
Ben Vanik daac4a2d50 Fixing Rc=1 CR update to be 32-bit. 2015-02-10 12:01:05 -08:00
Ben Vanik 46a59270c4 Tests for nor and neg. 2015-02-10 12:00:47 -08:00
Ben Vanik bd7a970102 Factoring out EA writeback. Thought it may have been wrong. 2015-02-09 17:39:46 -08:00
Ben Vanik c42eb271ac Fixing disasm. 2015-02-09 17:23:41 -08:00
Ben Vanik cc6d03ab2c Removing unneeded fs entry type. 2015-02-09 16:59:28 -08:00
Ben Vanik 78451a4e9e Cleaning up texture info/uploading. Edge cases still likely. 2015-02-09 14:10:24 -08:00
Ben Vanik 1ffd99fe3a Oh for fuck's sake. Fixing vperm128 decoding. 2015-02-09 14:10:24 -08:00
Ben Vanik 29719b8f4d Cleaning up some line ending issues. 2015-02-09 14:10:23 -08:00
x1nixmzeng dc11b88ef2 Minor usage fix
Fixes usage when running with a single unnamed argument
2015-02-09 20:13:09 +00:00
Ben Vanik eae8197025 Fixed XInputGetKeystroke. 2015-02-06 00:11:17 -08:00
Ben Vanik 8176df3ac6 lvebx/lvehx/lvewx. 2015-02-05 23:17:30 -08:00
Ben Vanik 3567cbc2cc ADD/MUL/SUBs. 2015-02-05 22:40:52 -08:00
Ben Vanik 908b95aeaa Probably working select. 2015-02-05 21:52:00 -08:00
Ben Vanik f128bf8670 Enough NetDll for games using sockets as IPC. 2015-02-05 21:26:28 -08:00
Ben Vanik fe3475b88c Fixing texture sizing. Probably. Fixes some DXT issues. 2015-02-03 23:46:12 -08:00
Ben Vanik c33613b2f8 assert_unhandled_case on ObReferenceObjectByHandle. 2015-02-02 23:07:21 -08:00
Ben Vanik 05f008d6ce Several XamContent* methods. 2015-02-02 23:07:20 -08:00
Ben Vanik c75a0337ae Fix XamUserCreateAchievementEnumerator. 2015-02-02 23:07:20 -08:00
Ben Vanik 969ef8f688 Fix XamEnumerate returns. 2015-02-02 23:07:19 -08:00
Ben Vanik 4f92df8918 XexGetModuleHandle(nullptr,) support. 2015-02-02 23:07:19 -08:00
Ben Vanik c06a675794 Fix XOVERLAPPED. 2015-02-02 23:07:19 -08:00
Ben Vanik 2b1dc9fa05 Ignore range check on autodraw. 2015-02-02 23:07:18 -08:00
Ben Vanik 36ba9aa3f3 Fixing rect-list tex coords. 2015-02-02 23:07:18 -08:00
Ben Vanik 5b08feb010 Playing with RTT. 2015-02-02 23:07:17 -08:00
Ben Vanik f9a3f0c48e Fix broken VirtualProtect reset on ClearWriteWatch. 2015-02-02 23:07:17 -08:00
Ben Vanik bba8f6391b Tweaking CriticalSection. 2015-02-02 23:07:16 -08:00
x1nixmzeng bcb507d643 Minor string formatting fix
Log the path names as widestrings
2015-02-02 22:52:57 +00:00
Ben Vanik ea1bdd2a24 Fixing vswprintf and adding vscwprintf. 2015-02-01 22:44:33 -08:00
Ben Vanik 487ce40123 No-op XUserGetContext. 2015-02-01 22:29:36 -08:00
Ben Vanik 59adde4d7f Negative size allocs. Probably. 2015-02-01 21:20:55 -08:00
Ben Vanik 493c3d7656 XMsgSystemProcessCall call. 2015-02-01 20:53:44 -08:00
Ben Vanik 93ded5ef0f Old style mfcr. 2015-02-01 20:49:47 -08:00
Ben Vanik 7b48332782 Reversing XUserSetPropertyEx signature. 2015-02-01 17:40:38 -08:00
Ben Vanik 5b759d387c Starting to reverse XGI app. 2015-02-01 17:25:18 -08:00
Ben Vanik 5f3ab7979f --break_on_debugbreak 2015-02-01 11:38:16 -08:00
Ben Vanik f60677f359 mfocrf + test 2015-02-01 11:22:56 -08:00
Ben Vanik cfcd6118c2 Fixing GetTickCount.
There's likely a better way to do this (on demand), but this works for now.
2015-02-01 09:05:35 -08:00
Ben Vanik 3454d1bdf5 EntryTable needs a rewrite. 2015-01-31 23:51:45 -08:00
Ben Vanik 00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
sephiroth99 3f480d24bd libpoly: add missing include for thread_local define in logging.cc
Add a missing include in logging.cc that fixes the missing definition for
thread_local. Similar to issue #122.
2015-01-31 01:24:45 -05:00
Ben Vanik f632895fbb srdi special case and tests for sldi/srdi. 2015-01-24 10:21:54 -08:00
Ben Vanik b8bb338564 Removing IVM. 2015-01-19 12:35:43 -08:00
Ben Vanik 056d4ed9b0 vaddshs/vadduhm/vsubshs/vsubuhm tests. 2015-01-19 12:24:41 -08:00
Ben Vanik b2e03fa628 I don't like it, but fixing permute by int16. 2015-01-19 12:15:10 -08:00
Ben Vanik acc1286b72 Disasm path diffs. 2015-01-19 12:13:43 -08:00
Ben Vanik 88d0c2cfd3 Fixing vupklsh/vupkhsh. 2015-01-19 12:13:26 -08:00
Ben Vanik dd2f799380 Tests for vupklsh/vupkhsh. 2015-01-19 11:52:51 -08:00
Ben Vanik 9099f597fe Test vupkd3d128 and fix short2 unpacking. 2015-01-19 11:46:14 -08:00
Ben Vanik 1d4ee3e6fb vcfsx test 2015-01-14 17:59:14 -08:00
Ben Vanik d76db54fee Tests for vmrg* (broken! woo!) 2015-01-14 17:47:54 -08:00
Ben Vanik 9a66629725 vsel tests. 2015-01-11 21:32:34 -08:00
Ben Vanik e48d9a44c7 vsldoi tests. 2015-01-11 21:21:51 -08:00
Ben Vanik 58107f3499 vpermwi128 tests. 2015-01-11 21:16:04 -08:00
Ben Vanik cd4e877ae1 fsel test. 2015-01-11 21:01:25 -08:00
Ben Vanik 6a44cf9662 vrlimi128 tests. 2015-01-11 16:39:44 -08:00
Ben Vanik 0dfe0602ad stvew tests. 2015-01-11 16:39:36 -08:00
Ben Vanik fc39745634 lvsl/lvsr tests. 2015-01-11 16:00:16 -08:00
Ben Vanik 18e458e99a addic tests. 2015-01-11 15:49:56 -08:00
Ben Vanik d66c6ec3d3 fabs test. 2015-01-11 15:45:17 -08:00
Ben Vanik f6404a0982 vctsxs tests. 2015-01-11 15:38:01 -08:00
Ben Vanik d234f2bc47 vperm test + fix for % byte. 2015-01-11 15:17:16 -08:00
Ben Vanik 229daab25b vspltis[bhw] tests. 2015-01-11 15:02:57 -08:00
Ben Vanik aacb515035 vsplt[bhw] tests. 2015-01-11 14:58:05 -08:00
Ben Vanik 338b5809b4 vsl[bhw] tests. 2015-01-11 14:48:51 -08:00
Ben Vanik f2100a78bc vrfin test. 2015-01-11 13:11:31 -08:00
Ben Vanik ffe9fad685 Minor tweaks while reviewing instructions. 2015-01-11 13:11:13 -08:00
Ben Vanik 5827f5f5d8 Utility to dump instruction translation counts. 2015-01-11 00:44:17 -08:00
Ben Vanik b6b27e621a Enough XMP to play (fake) play media. 2015-01-11 00:28:24 -08:00
Ben Vanik f5e12eba76 Digging into XMP stuff. Wish these were just normal functions. 2015-01-10 21:36:46 -08:00
Ben Vanik cf31969510 Update comment on VGT_MIN/MAX_VTX_INDX. 2015-01-09 00:33:11 -08:00
Ben Vanik e7ee2bf40d XamLoaderLaunchTitle 2015-01-09 00:31:56 -08:00
Ben Vanik 9f765e1291 XMsgStartIORequestEx 2015-01-09 00:26:47 -08:00
Ben Vanik 2bc951cd1e Stub for screen extent write event. 2015-01-09 00:26:40 -08:00
Ben Vanik 6437bbec96 OPCODE_INSERT 2015-01-09 00:12:11 -08:00
Ben Vanik fde3904130 Emulated SHR_V128 implementation. 2015-01-08 23:35:25 -08:00
Ben Vanik dfba5943da Hide invalid interrupt dispatches. 2015-01-07 22:54:50 -08:00
Ben Vanik 9e1c3e1dfc Putting something at 0x40000000. 2015-01-07 22:24:59 -08:00
Ben Vanik 6eb9c3c9e5 Trying to find real register values. 2015-01-07 21:51:03 -08:00
Ben Vanik 662bbb6729 Experimenting with video stuff. 2015-01-07 21:47:46 -08:00
Ben Vanik 3658e710d2 Tweaks; timebase supports TBU. 2015-01-06 00:13:27 -08:00
Ben Vanik 672ecdf252 Some games open readonly paths for writes.. hmm 2015-01-05 23:25:32 -08:00
Ben Vanik 1a70606904 QueryFileSystemAttributes/QueryVolume for STFS/ISO. 2015-01-05 22:32:44 -08:00
Ben Vanik 58e71c7ff3 KeSetDisableBoostThread stub. 2015-01-05 22:32:22 -08:00
Ben Vanik 540740ca41 NtCreateFile/NtOpenFile cleanup. Now opens directories, too. 2015-01-05 22:32:15 -08:00
Ben Vanik 9e65e35a09 Some user profile settings. 2015-01-05 22:11:26 -08:00
Ben Vanik 4aa98ae1e9 fnmadd(s)x 2015-01-05 22:11:02 -08:00
Ben Vanik a82629efd5 Fix dots in path names. 2015-01-04 21:08:47 -08:00
Ben Vanik caad11b30b Support root-relative paths. 2015-01-04 20:57:12 -08:00
Ben Vanik 0b6b6a4189 Fixing buffer flushes. 2015-01-04 16:52:29 -08:00
Ben Vanik 0529fdb84d Basic hacky write watching for texture invalidation. Doesn't scale. 2015-01-04 16:28:42 -08:00
Ben Vanik 55c4488ab2 Fast-pathing MDI's that have only one draw. 2015-01-04 14:23:28 -08:00
Ben Vanik 4fcf9c6229 MultiDrawIndirect draw batching - now down to <20us per draw. 2015-01-04 11:20:42 -08:00
Ben Vanik eda38a7428 Misc tweaks. 2015-01-04 04:59:26 -08:00
Ben Vanik 34fb0e4a8a Optionally track max value seen during copy. 2015-01-04 04:57:40 -08:00
Ben Vanik 56a04592d5 Removing fetch consts from state data. 2015-01-03 13:59:31 -08:00
Ben Vanik 2a082ff242 Tracking bytes used in the scratch buffer. 2015-01-03 13:50:11 -08:00
Ben Vanik 70c0c0fea1 Adding --vendor_gl_extensions flag to disable NV stuff. 2015-01-03 13:40:20 -08:00
Ben Vanik 76c41edfd6 Thread names. 2015-01-03 03:42:27 -08:00
Ben Vanik 3e61cc95cd Tracking whether state changes are compatible for batching. 2015-01-03 03:19:32 -08:00
Ben Vanik 07a82200f9 Shadow state to eliminate most redundant GL calls. 2015-01-03 02:57:58 -08:00
Ben Vanik 858f70549f Dangerous --vsync=false flag. 2015-01-03 01:32:59 -08:00
Ben Vanik c6f0ce7a1e Enabling microprofile webserver and adding a timeout. 2015-01-03 01:06:19 -08:00
Ben Vanik 718762746a A texture cache that never invalidates. 2015-01-03 01:05:56 -08:00
Ben Vanik 79179c28ef Experimenting with index ranges. Look unused by d3d :( 2015-01-02 18:21:39 -08:00
Ben Vanik 5236477043 Batch flushing buffer. 2015-01-02 18:01:48 -08:00
Ben Vanik bb15d2f62f Faster profiler drawing. 2015-01-02 17:44:15 -08:00
Ben Vanik aa22d07caf Super slow MicroProfile GL UI. 2015-01-02 17:26:02 -08:00
Ben Vanik 7629c0f4d2 Latest microprofiler in headless mode. 2015-01-02 10:37:58 -08:00
Ben Vanik 4a7eccf5dc Hiding annoying vertex attrib warning. 2015-01-02 03:01:32 -08:00
Ben Vanik 195b37ca70 Removing glFinish from pre-wait check. 2015-01-02 02:52:29 -08:00
Ben Vanik 420fd11771 --disable_textures flag. 2015-01-02 02:50:12 -08:00
Ben Vanik 53906ee195 Move the window in a bit. 2015-01-02 02:30:37 -08:00
Ben Vanik 1c068a601d Munging with viewport stuff. Nasty. 2015-01-02 00:27:05 -08:00
Ben Vanik be05ab6ffe New shader instrs. 2015-01-02 00:26:52 -08:00
Ben Vanik 6d159dc20d Adding cxx_compat for VS2013 build. Fixes #122. 2015-01-01 22:55:55 -08:00
Ben Vanik 8b8d692f06 Partial shader instr predication. 2015-01-01 22:55:10 -08:00
Ben Vanik ba0745abe2 Hack for weird pixel shader export. 2015-01-01 18:18:47 -08:00
Ben Vanik 009f4c4863 Fixing rectlist for weird cases. 2015-01-01 17:33:58 -08:00
Ben Vanik 2241795713 exp/sqrt shader ops, retain_prev hack. 2015-01-01 16:47:19 -08:00
Ben Vanik 4a11d5e6e2 Fixing ARGB4444 textures. 2015-01-01 16:30:42 -08:00
Ben Vanik 0e04e1c455 Draw tex coords for invalid textures. 2015-01-01 12:25:16 -08:00
Ben Vanik 825c09dd16 Viewport tweaking. Most stuff works better, now. 2015-01-01 11:59:23 -08:00
Ben Vanik 33a3e41eaf DXN textures. Probably. 2014-12-31 19:27:03 -08:00
Ben Vanik 7f4aef18d9 Quad/point list programs. 2014-12-31 19:27:03 -08:00
Ben Vanik 764e35435d Fixing texture unpack. 2014-12-31 19:27:02 -08:00
Ben Vanik 8a70316275 Tweaking. 2014-12-31 19:27:02 -08:00
Ben Vanik 8869d4620f Fixing clears. 2014-12-31 19:27:01 -08:00
Ben Vanik dfc260b86e Textures and such. 2014-12-31 19:27:01 -08:00
Ben Vanik 5b2672a1b8 GLSL shaders translating (modulo texture fetches). 2014-12-31 19:27:01 -08:00
Ben Vanik 58cff84550 Copying over the shader translator - generating d3d shaders now. 2014-12-31 19:27:00 -08:00
Ben Vanik 6573c87b8d --dump_shaders 2014-12-31 19:27:00 -08:00
Ben Vanik ea403b2164 Caching pipelines. 2014-12-31 19:26:59 -08:00
Ben Vanik 14ee211ea9 Experimenting with vertex pipeline. 2014-12-31 19:26:59 -08:00
Ben Vanik d2a3cba4f3 Fixing asserts. 2014-12-31 19:26:58 -08:00
Ben Vanik 39541aaaac Playing with buffers. 2014-12-31 19:26:58 -08:00
Ben Vanik f438ae1bfd Swapping. 2014-12-31 19:26:58 -08:00
Ben Vanik 9c6be1edba Deciphering copy packets. 2014-12-31 19:26:57 -08:00
Ben Vanik 3dffc72e59 Basic render target/framebuffer setup. 2014-12-31 19:26:56 -08:00
Ben Vanik 02d52167d3 GL context on command processor. 2014-12-31 19:26:56 -08:00
Ben Vanik e8de42d9ea Copying in generic shader code. 2014-12-31 19:26:56 -08:00
Ben Vanik 9233661c6f Skeleton for copy_and_swap. 2014-12-31 19:26:55 -08:00
Ben Vanik 10ea5f1dbe Predication (I think). 2014-12-31 19:26:54 -08:00
Ben Vanik f8325512d7 GL4 command processor. 2014-12-31 19:26:54 -08:00
Ben Vanik 42e6a44624 Removing D3D. 2014-12-31 19:26:54 -08:00
Ben Vanik bbb7de6bff Red GL4.5 screen. 2014-12-31 19:26:53 -08:00
Ben Vanik 577ab0a4f1 Main window, empty GPU files. 2014-12-31 19:26:53 -08:00
Ben Vanik d839359b4a UI hacking. 2014-12-31 19:26:52 -08:00
Ben Vanik c1df273600 Moving delegate to poly. 2014-12-31 19:26:51 -08:00
Ben Vanik a0eebf8898 Removing old run loop/ref/core/etc. 2014-12-31 19:26:51 -08:00
Ben Vanik 1bd36db421 Missed a bit in dirty page removal. 2014-12-19 20:04:47 -08:00
Ben Vanik 1ae2f2a7af Fixing warnings under the new VC++. 2014-12-19 19:29:12 -08:00
Ben Vanik 756cfbb484 Removing dirty page table hack. 2014-12-19 17:29:27 -08:00
Ben Vanik 71fab4bbb7 Adding VS2015 support. 2014-12-19 17:09:39 -08:00
Ben Vanik de9b6bdc8f Moving xenia-run to just be xenia. 2014-12-19 16:50:27 -08:00
Ben Vanik 9460f737e9 Removing wxWidgets and such. 2014-12-19 16:32:28 -08:00
Ben Vanik a4141e84ce Sigh. 2014-11-08 11:38:07 -08:00
Ben Vanik 21b6c93db0 Tweaking GPU callbacks. 2014-11-08 10:13:08 -08:00
Ben Vanik 7bb61b8099 Fixing some shader stuff. What a mess. 2014-11-03 20:59:08 -08:00
Ben Vanik 05fb4c32eb Faking some texture types. 2014-11-03 19:14:50 -08:00
Ben Vanik 5be1b9458a Adding --max_draw_elements to make debugging easier for now. 2014-11-02 21:50:11 -08:00
Ben Vanik 96c203699d Fixing totally broken vpkd3d128 and adding new pack instructions. 2014-11-02 21:49:39 -08:00
Ben Vanik 32f42cd5ae Tests for vpkd3d128 d3dcolor. 2014-11-02 17:32:50 -08:00
Ben Vanik 9cb4fe03a4 TODO on RETAIN_PREV. 2014-11-02 09:45:28 -08:00
Ben Vanik 36f30b3374 Fixing overlapping texture fetches. 2014-11-02 09:45:13 -08:00
Ben Vanik 8c314225bb Make XPS happy and remove some GPU address munging. 2014-11-02 00:02:17 -07:00
Ben Vanik 3ed9685244 VdSetDisplayMode stubs. 2014-11-01 11:42:59 -07:00
Ben Vanik 4fabd20980 Better process type emulation. 2014-11-01 11:42:44 -07:00
Ben Vanik 8c171a6489 VdEnableDisableClockGating stub. 2014-11-01 11:40:07 -07:00
Ben Vanik 2ee42c2876 VdInitializeScalerCommandBuffer. 2014-11-01 11:12:31 -07:00
Ben Vanik bea90d65cf VdCallGraphicsNotificationRoutines (kind of). 2014-11-01 11:12:07 -07:00
Ben Vanik 4ecb95c6ad Over-notifying signin seems to make some games mad. 2014-10-30 20:50:18 -07:00
Ben Vanik 6053f1d35c Spamming some notifications on startup to unhang games. 2014-10-29 21:09:54 -07:00
Ben Vanik 1566b4c890 Basic hacky SetAffinity. 2014-10-28 22:10:40 -07:00
Ben Vanik 3daf362dfe XamUserAreUsersFriends 2014-10-28 20:54:51 -07:00
Ben Vanik b46a8b3618 Fixing some GPU->CPU addresses. 2014-10-28 20:32:15 -07:00
Ben Vanik 1f9eff2938 misc 2014-10-28 00:23:46 -07:00
Ben Vanik 40e6e661cb Fixing round_up, which was breaking physical alloc alignment. 2014-10-27 23:34:17 -07:00
Ben Vanik fe38598489 Fixing vector compare. 2014-10-26 23:05:38 -07:00
Ben Vanik c13adeb9cf Reset cr6 on vector compare, fix NOT_V128. 2014-10-26 22:19:02 -07:00
Ben Vanik d7698368fc Stubbed XamInputGetCapabilitiesEx. 2014-10-26 20:26:23 -07:00
Ben Vanik 262712d4e9 Fixing livelock caused by lf stuff (or at least making it harder to hit). 2014-10-26 19:05:30 -07:00
Ben Vanik 6fd0fa9103 StoreRelease should also set cr0 lt/gt. 2014-10-26 15:44:12 -07:00
Ben Vanik 5836a81abf XamVoiceIsActiveProcess stub. 2014-10-26 02:42:17 -07:00
Ben Vanik 13edfa95a5 Fake gamer tile reading. 2014-10-26 02:42:03 -07:00
Ben Vanik 3024b755da Tweaks to support missing user settings. 2014-10-26 02:41:48 -07:00
Ben Vanik 5bec5bb203 Fixing stvl/stvr. 2014-10-26 02:01:02 -07:00
Ben Vanik 9649eb0e8d XMMOne != FFFFF.... 2014-10-26 02:00:31 -07:00
Ben Vanik 8098d55ebd stvl/stvr tests; failing right now! 2014-10-26 00:48:48 -07:00
Ben Vanik d8a1c5ce79 Fixing lvr. 2014-10-25 19:28:06 -07:00
Ben Vanik e767c2e90a Fixing permute, I think. 2014-10-25 15:23:27 -07:00
Ben Vanik 07a7f36871 Fix bad preprocessor check. 2014-10-25 14:28:30 -07:00
Ben Vanik e267a6d25e Support for vector expectations and memory init in alloy-ppc-test. 2014-10-25 11:43:24 -07:00
Ben Vanik 009ff4e80f XamLoaderTerminateTitle asserts now to make it easier to track death. 2014-10-25 11:42:54 -07:00
Ben Vanik f3a196c02f Extra rldicl test. 2014-09-13 20:47:38 -07:00
Ben Vanik 447b5bf316 Fixing xex loading into 4k pages. 2014-09-13 19:32:37 -07:00
Ben Vanik 0ad3ed0230 Fixing RtlMultiByteToUnicodeN. 2014-09-13 14:54:47 -07:00
Ben Vanik 69f68bf690 rldicl/rldicr tests. 2014-09-13 13:30:52 -07:00
Ben Vanik 3e48a8c459 rwlinm/rlwnm tests. 2014-09-13 13:02:33 -07:00
Ben Vanik 0d92e14c9f mul tests + fix. 2014-09-13 12:39:00 -07:00
Ben Vanik 82102dd390 div tests + fix. 2014-09-13 01:08:14 -07:00