Commit Graph

5853 Commits

Author SHA1 Message Date
gibbed 01f7ad7ddf [Core] Fix guest crash handler crash/output.
- [Core] Fix guest crash handler crash due to bad format string.
- [Core] Fix guest crash handler outputting signed values for
  vectors.
2020-04-09 11:06:48 -05:00
Sandy Carter e605eef781 filesystem: remove unused includes of header 2020-04-09 09:44:48 -05:00
Sandy Carter fc5153bca1 filesystem: use std for DeleteFile
Remove custom platform implementation of `DeleteFile` and replace single
use with `std::filesystem::remove` after a negative
`std::filesystem::is_directory` check.
2020-04-09 09:44:48 -05:00
Sandy Carter df65de231f filesystem: use std for DeleteFolder
Remove custom platform implementation of `DeleteFolder` and replace two
uses with `std::filesystem::remove_all` which removes a file or
directory with all its contents.
2020-04-09 09:44:48 -05:00
Sandy Carter 69bcf59c79 filesystem: use std for CreateFolder
Remove custom platform implementation of `CreateFolder` and replace uses
with `std::filesystem::create_directories` which creates paths
recursively.
2020-04-09 09:44:48 -05:00
Sandy Carter c8e64da4eb filesystem: use std for PathExists
Remove custom platform implementation of `PathExists` and replace uses
with `std::filesystem::exists`.
2020-04-09 09:44:48 -05:00
Sandy Carter a9fa38c88b filesystem: use std for IsFolder
Remove custom platform implementation of IsFolder and replace
single use with `std::filesystem::is_directory`.
2020-04-09 09:44:48 -05:00
Joel Linn 05a62673f7 [SDL2] Redirect log messages into our system. 2020-04-08 21:55:56 -05:00
Joel Linn 11d79c6c1c [SDL2] Remove delayed loading code. 2020-04-08 21:55:56 -05:00
Joel Linn 804384c19c [SDL2] On Win, build and link statically.
Keep using system lib dynamically on Unix.
2020-04-08 21:55:56 -05:00
Joel Linn 9828e085b0 Fix building premake on Windows.
Broken before when vswhere emitted unicode characters.
2020-04-08 16:17:06 -05:00
Joel Linn 72f19a60a9 [Docs] Update building instructions for Linux. 2020-04-08 16:17:06 -05:00
Joel Linn c8ab1e9f36 Replace deprecated gmake with gmake2 action.
https://github.com/premake/premake-core/issues/1099
2020-04-08 16:17:06 -05:00
Joel Linn df1ee6268f Linux development environment.
- Fix CodeLite project generation.
- Implement `xb devenv` for CodeLite.
2020-04-08 16:17:06 -05:00
Triang3l acb3778819 [D3D12] Adaptive quad tessellation, remove d3d12_tessellation_adaptive cvar 2020-04-09 00:00:11 +03:00
gibbed c51cba080b Fix some bad string formats. 2020-04-08 13:05:37 -05:00
gibbed b37579fad2 [Base] Fix path parsing from commandline. 2020-04-08 12:31:00 -05:00
gibbed 637a8464a7 Update premake. 2020-04-08 09:02:56 -05:00
Triang3l 7e27427c4a [D3D12] SV_Position is not necessary in VS if it's in DS/GS 2020-04-08 12:54:35 +03:00
Triang3l 7cf3a75ab1 [D3D12] Fix and enable triangle adaptive tessellation 2020-04-08 00:26:49 +03:00
gibbed 8123978c49 [PPC] Disable frsqrte tests. 2020-04-07 16:09:41 -05:00
gibbed 56e5d6f11c Fix precision of test register in frsqrte test. 2020-04-07 16:09:41 -05:00
gibbed 2393381cff Make 'xb test' also run xenia-base-tests. 2020-04-07 16:09:41 -05:00
gibbed f0eb272acc Add UTF8 tests. 2020-04-07 16:09:41 -05:00
gibbed 37e576e648 [PPC] Prettier printing for failed memory checks.
[PPC] Prettier printing for failed memory checks in tests.
2020-04-07 16:09:41 -05:00
gibbed a48bb71c2f Overhaul logging. 2020-04-07 16:09:41 -05:00
gibbed de3c91ab2c Add disruptorplus submodule. 2020-04-07 16:09:41 -05:00
gibbed bbb3445b53 Mark C4839/C4840 as severe warnings.
Mark C4839 and C4840 as severe warnings:

- C4839: non-standard use of class 'type' as an argument to a variadic function
- C4840: non-portable use of class 'type' as an argument to a variadic function
2020-04-07 16:09:41 -05:00
gibbed 5bf0b34445 C++17ification.
C++17ification!

- Filesystem interaction now uses std::filesystem::path.
- Usage of const char*, std::string have been changed to
  std::string_view where appropriate.
- Usage of printf-style functions changed to use fmt.
2020-04-07 16:09:41 -05:00
gibbed 114cea6fb7 Add fmt submodule. 2020-04-07 16:09:41 -05:00
gibbed 727b3dc2b6 Add utfcpp submodule. 2020-04-07 16:09:41 -05:00
Triang3l b47948b7cf [DXBC] Fix another copy-paste kVSDS typo 2020-04-07 19:19:08 +03:00
Triang3l 306f2947ec [DXBC] Fix a copy-paste kDSVS typo 2020-04-07 19:18:21 +03:00
Triang3l 9d36c257b0 [D3D12] Non-adaptive triangle tessellation 2020-04-07 18:55:43 +03:00
Triang3l b00baadf53 [D3D12] Fix a lint issue in comments 2020-04-06 12:41:35 +03:00
Triang3l 283c3ab59b [D3D12/DXBC] Fix a couple of tessellation-related comments 2020-04-06 00:19:29 +03:00
Triang3l c4f47039eb [GPU] Fix a typo in the tessellation patch types comment 2020-04-06 00:08:05 +03:00
Triang3l 4b9f63cdf1 [GPU] Shader::HostVertexShaderType enum for domain shader types 2020-04-06 00:03:23 +03:00
Triang3l 8da8044771 [DXBC] Move cvars from D3D12 to GPU 2020-04-05 17:23:38 +03:00
Triang3l e82d05c687 [D3D12] Pass adaptive tessellation factors via index buffer like on the guest 2020-04-05 17:22:49 +03:00
Triang3l 5d6fe38e6f [DXBC] Vertex shader prologue and gamma to new DXBC code 2020-04-05 13:13:55 +03:00
Rick Gibbed a0f486b0fa
Bump minimum Python version (#1581)
Bump minimum Python version to 3.6.
2020-03-30 17:37:32 -05:00
Triang3l 5f5e281e8c [DXBC] Rewrite a comment in memexport that may be outdated 2020-03-29 19:14:25 +03:00
Triang3l 05f6b444a0 [DXBC] Move memexport to the new DXBC code and make it more straightforward 2020-03-29 19:09:58 +03:00
Triang3l 7bdf59a8c7 [DXBC] Fix totally broken instruction when memexport is used in PS 2020-03-28 00:23:02 +03:00
Triang3l a10bd2a5c1 [DXBC] Unbreak MRT in RTV output path 2020-03-27 23:18:15 +03:00
Triang3l 316f996d50 [DXBC] D3D11.3 Functional Specification lies 2020-03-27 21:31:00 +03:00
Triang3l 821a9897ef [Kernel/XAM] Even more detailed rationale for XNotifyGetNext param_ptr null check 2020-03-23 10:46:51 +03:00
Triang3l 61bcd467a6 [Kernel/XAM] Rationale for XNotifyGetNext param_ptr null check 2020-03-23 10:38:45 +03:00
Triang3l a4ffcd5175 [D3D12] Update DXBC contribution notes 2020-03-23 00:13:54 +03:00