Commit Graph

6115 Commits

Author SHA1 Message Date
Joel Linn 06214c544a [CPU] std::sort compare: satisfy comp(a,a)==false 2020-11-14 13:30:06 -06:00
Joel Linn 8b1ebe1130 Premake: Reorder links to speed up building.
- Re-enable LTO on clang.
- Set AR on travis so it builds with LTO.
2020-11-14 13:30:06 -06:00
Joel Linn 9dea6b3f62 Add premake cmake generator.
`./build/CMakeLists.txt` is generated by `./xb.bat premake --devenv=cmake` and enables use of other IDEs like `CLion` for example.
2020-11-14 13:30:06 -06:00
Joel Linn 2a076c924f Refactor premake scripts. 2020-11-14 13:30:06 -06:00
Sandy Carter e348cacc6d [debugging linux] Implement functions
Check TracerPid in /proc/self/status for attached debugger.
Add SIGTRAP handler to prevent signal from halting app while not running
in a debugger.
Log DebugPrint in clog (stderr).
2020-11-14 13:17:15 -06:00
Radosław Gliński f8d7652dc4
[Kernel] Remove remaining SHIM usage from xam_net (#1671) 2020-11-14 19:30:56 +03:00
Triang3l a319617185 [Kernel] Thread affinity cleanup 2020-11-14 18:09:47 +03:00
Gliniak 2dc6b0b2ad [Kernel/Thread] Added missing paramteter to KeSetAffinityThread 2020-11-14 17:48:30 +03:00
Triang3l fe9b5b4a8f [D3D12] Cleanup: remove inline 2020-11-14 17:02:09 +03:00
Triang3l 6b988d43c7 [D3D12] Cleanup: pipeline state -> pipeline, other things 2020-11-14 16:43:18 +03:00
randprint 4fbe33f967 [Kernel] storage detection rollup of fixes 2020-11-12 21:43:32 -05:00
Gliniak 87a3c5fac2 [GPU] Added Stub for Packet: PM4_WAIT_FOR_IDLE 2020-11-10 22:48:00 +03:00
Triang3l e196edc989 [Base] Use the original XEPACKEDSTRUCT/UNION names on MSVC 2020-11-08 19:41:41 +03:00
Triang3l 6ac4d3e0c9 [DXBC] Fix texture binding reference use-after-grow 2020-11-06 13:00:22 +03:00
Triang3l ae3b68c7b6 [DXBC] Fast mul path only for fully identical components because neg is post-abs 2020-10-30 22:31:30 +03:00
Triang3l feb8258a5e [DXBC] Multiplication signed zero handling 2020-10-30 22:14:38 +03:00
Joel Linn adebaba799 Allow building without git. 2020-10-28 20:31:36 -05:00
randprint 79d72fc889 [Kernel] minor change to EnqueueNotification to fix Vigilante8 2020-10-27 19:06:03 -04:00
illusion0001 1db8062380 Merge remote-tracking branch 'upstream/master' into canary_new 2020-10-27 13:13:08 -05:00
Triang3l 9bbe4365d1 [GPU] Fix adaptive quad tessellation inside factors 2020-10-27 21:01:55 +03:00
illusion0001 b65e447cbe Merge remote-tracking branch 'upstream/master' into canary_new 2020-10-27 10:07:09 -05:00
emoose e19c4a641a [XAM] Better stub for XNetQosServiceLookup, add XNetQosRelease
Based on the NetDll_XNetDnsLookup code, this should fix Saints Row TU1 trying to access the QoS data even though we returned an error.
2020-10-27 08:28:38 -05:00
gibbed 2b8f347b0b [XAM] Stub xuids usage xeXamUserReadProfileSettingsEx.
[XAM] Stub valid xuids usage xeXamUserReadProfileSettingsEx.
2020-10-26 16:07:37 -05:00
Gliniak 10db913ca2 [Kernel/Xam] XNotifyGetNext - Overall improvements 2020-10-26 15:43:51 -05:00
illusion0001 175b8e398d Merge remote-tracking branch 'upstream/master' into canary_new 2020-10-25 12:55:21 -05:00
Triang3l 445d78452f [DXBC] Pop aL on loop end 2020-10-25 19:50:24 +03:00
illusion0001 053782cde4 AVPack cvar 2020-10-24 04:55:28 -05:00
randprint 25894c4083 [Kernel/Threads] add shared version of locks to fix a crash when games try to unlock things that didn't get locked in the first place 2020-10-20 23:24:35 -04:00
Triang3l ca9086f3ba [GPU] Add a comment about non-positive tessellation factors 2020-10-19 23:02:20 +03:00
randprint 0afcd8769b Merge remote-tracking branch 'upstream/master' into canary_new 2020-10-18 16:07:17 -04:00
Triang3l 9081046e7b [D3D12] Remove SRV[unbounded] and UAV overlap in bindless root sig 2020-10-18 22:09:08 +03:00
illusion0001 1aaed8bb64 Add LaunchPath to log 2020-10-18 14:41:13 -04:00
Cancerous a2fb185cb9 [Kernel] - Load Dlls - fixes orangbox games loading from menu ala Emoose 2020-10-18 14:41:12 -04:00
Gliniak d78d33d2e9 Initial support for xex patching 2020-10-18 14:41:12 -04:00
Gliniak 8c9adfe1ab Added Premake Files For PatchingSystem 2020-10-18 14:41:12 -04:00
Triang3l 8aa6a6db77 [DXBC] Remove dxbc_source_map cvar export 2020-10-18 14:41:11 -04:00
Triang3l cbb79640e5 [GPU] Remove unused FinalizeTrace 2020-10-18 14:41:11 -04:00
Triang3l a2e7998580 [D3D12] Minor shared memory cleanup 2020-10-18 14:41:11 -04:00
Triang3l 3fcda26651 [D3D12] Remove await result check in trace init - unsafe too, but not leaking 2020-10-18 14:41:10 -04:00
Triang3l 6c73bbee3e [GPU] SharedMemory: common sparse memory allocation 2020-10-18 14:41:10 -04:00
Triang3l d397bef9d2 [D3D12] Minor deferred command list refactoring 2020-10-18 14:41:10 -04:00
Triang3l c68ea4bbb7 [D3D12] Minor FINE_GRAINED_DRAW_SCOPES refactoring 2020-10-18 14:41:09 -04:00
Triang3l 9633de63f2 [D3D12] Remove SHM EnsureTilesResident declaration 2020-10-18 14:41:09 -04:00
Triang3l 3b30f71b26 [GPU] Split SharedMemory into common and D3D12 2020-10-18 14:41:09 -04:00
Triang3l 74327558c8 [D3D12] Nicer DeferredCommandList uintmax_t alignment 2020-10-18 14:41:08 -04:00
Triang3l b431de87ce [D3D12] Only await submission fence in one place 2020-10-18 14:40:59 -04:00
Gliniak a10fff279b Added missing paramteter to KeSetAffinityThread 2020-10-18 14:35:43 -04:00
Triang3l fa96ec4352 [D3D12] Await UpdateTileMappings when syncing with the GPU 2020-10-18 14:35:43 -04:00
Triang3l 398721e04f [UI] Replace ImmediateTexture handles with pointers + small cleanup 2020-10-18 14:35:43 -04:00
Triang3l b8131c5895 [D3D12] Delayed ImmediateTexture releasing 2020-10-18 14:35:42 -04:00