Commit Graph

155 Commits

Author SHA1 Message Date
gibbed 2ac388527b Disable Edit and Continue for test suites.
Disable Edit and Continue for test suites. Edit and Continue in MSVC
can cause the __LINE__ macro to produce invalid values, which breaks
the usability of Catch2 output on failed tests.
2021-06-26 01:06:41 -05:00
Joel Linn ceb382f8ec Update Catch2 test framework
- Use their main() method to fix command line options. Fix CLion testing
- Change to correct tag syntax.
2021-06-02 22:28:43 -05:00
Joel Linn 8f44a14131 [Linux] Helper methods for pkg-config
- Fixes linking on GCC by putting libs in link group
2021-06-02 22:28:43 -05:00
gibbed 6ab665f6e2 Use xenia-base entrypoint for test suites.
Use xenia-base entrypoint for test suites. Fixes a bug where we were expecting
wchar data in main, which is incorrect, causing invalid args to be parsed.
2020-11-25 21:33:54 -06:00
gibbed a4170621a7 Update premake-core. 2020-11-23 22:01:43 -06:00
Triang3l d76e408681 [Build] Add Android to platform_files.lua 2020-11-22 00:15:36 +03:00
Triang3l 4786e93c96 [Build] Better Android detection in tools/build/premake 2020-11-21 16:22:38 +03:00
Triang3l 3f9e86e785 [Build] Clone premake to internal storage on Android 2020-11-21 16:22:26 +03:00
Joel Linn adebaba799 Allow building without git. 2020-10-28 20:31:36 -05:00
Triang3l 0d14ae01bb [D3D12] Allow non-adaptive tessellation for patch primitive types, and all triangle and quad tessellation modes 2020-05-11 22:40:52 +03:00
Triang3l 3aa0ce3096 [GPU] Shader translator refactoring (mostly ALU), fixes for disassembly round trip and write masks 2020-05-08 23:57:51 +03:00
Triang3l 582089392c [Shader Playground] Make PC shader models work at least with invalid shaders 2020-04-18 14:29:52 +03:00
Triang3l b8ec553f96 [Shader Playground] DXBC and domain shader output 2020-04-18 14:01:27 +03:00
Triang3l 05399b1292
[Shader Playground] Fix typos leaving XBOX undefined 2020-04-18 13:06:21 +03:00
Joel Linn 9828e085b0 Fix building premake on Windows.
Broken before when vswhere emitted unicode characters.
2020-04-08 16:17:06 -05:00
gibbed 637a8464a7 Update premake. 2020-04-08 09:02:56 -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 ad0c781c37 Fix diff.py to assume UTF-8. 2020-02-22 12:31:21 -06:00
gibbed e2346ee539 [PPC] Support basic form of sc. 2020-02-11 06:45:57 -06:00
Margen67 09e1028154 Remove (hopefully) last OpenGL leftovers & crunch
Crunch is unused.
2019-11-08 09:10:51 -08:00
gibbed 3e6c2bb47c Fix up handling of positional options in cvar handling.
- Fix up handling of positional options in cvar handling so that executables
  other than app can handle them properly.
- Fix command-line arguments for xenia-vfs-dump.
2019-08-24 07:41:55 -05:00
Jonathan Goyvaerts 81fe22f1c8 Get rid of gflags alltogether 2019-08-03 02:34:19 +02:00
Jonathan Goyvaerts c1af632562 Replace all gflag implementations with cvar implementations 2019-08-03 02:34:07 +02:00
gibbed 9d7058ac96 [PPC] Shuffle code around to make it cleaner to modify by hand.
- [PPC] Rename ppc_opcode_lookup.cc, ppc_opcode_table.cc to have a _gen
suffix to make it more obvious about their autogenerated nature.
- [PPC] Move autogenerated code from ppc_opcode_disasm.cc to
ppc_opcode_disasm_gen.cc.
- [PPC] Update ppc-table-gen to allow for blacklisting of certain
instructions that have custom disasm code.
2019-05-13 00:49:57 -05:00
Margen67 24c290e8a9 Fix/remove OpenGL leftovers 2019-05-08 08:31:04 -07:00
gibbed b594f97027 Oops. Forgot json import in premake build script. 2019-04-18 10:28:32 -05:00
gibbed 2dbd86ae23 Rework Xenia/premake build scripts to use VsDevCmd for VS2017+ instead
of vcvarsall.bat, this removes Windows Universal CRT SDK as a required
dependency.
2019-04-18 10:18:43 -05:00
gibbed 8658514e63 Oops. Missed a commit. Fix vswhere path in premake build script. 2019-04-18 09:32:05 -05:00
gibbed ffbc99926b - Update premake build script for VS2017+ build support.
- Update premake (for VS2019 support).
- Update Xenia build script to detect VS2017+ version.
- Update Xenia premake scripts due to updated premake.
- Fix cc override in Xenia build script.
2019-04-18 09:28:31 -05:00
Margen67 896ac4a682 Update documentation.
- Convert http to https, provide archive link when possible.
- Made CPU-JIT.png more readable on dark themes;
Added a white background so there isn't black text on a black
background.
2018-11-22 09:20:09 -06:00
DrChat a9318f72c9 Validate trace executable before starting thread pool 2017-12-20 14:36:10 -06:00
DrChat 4881603df9 Python utility to run tracedump locally 2017-12-20 14:16:21 -06:00
DrChat 02e37be4e5 Merge branch 'linux' of git://github.com/dougvj/xenia into linux
# Conflicts:
#	.travis.yml
2017-12-14 19:20:02 -06:00
Kriskras99 882f01533d Python 3 support (#755)
* Python 3 support

* Fix import_vs_environment in xenia-build

* Drop support for Python 2

* Fix CIs and xb.bat

* Require Python3.4+ because of Ubuntu Trusty

* popen.communicate returns bytes instead of string

* Useful info in travis

* universal_newlines should be True

* Changed shebang to python 3

* Python 3 shebang fix

* Clang python 3 shebang fix
2017-09-21 16:42:57 -05:00
Doug Johnson 4abb1623ea Add _gtk and _x11 as linux specific platform files 2017-07-11 11:47:24 -06:00
Parker Lamb 4b607a68ba PPC: Fix typo in instruction disassembly for mtspr. 2017-06-11 14:40:59 -05:00
Parker Lamb aab946a36b PPC: Add cstdlib includes for code generated by ppc-table-gen. 2017-06-11 14:37:07 -05:00
Dr. Chat 599f21d5c6 Update catch 2017-05-11 17:55:41 -05:00
Dr. Chat 8c16f91b7b Update premake to support vs2017. 2017-04-23 22:02:43 -05:00
Dr. Chat 50cc2385dd travis: clang-3.9 2017-02-05 22:01:13 -06:00
DrChat da0a468126 Import the VS environment when building premake. 2017-01-27 13:04:26 -06:00
gibbed 367742ee54 Include .inc files in generated project files. 2016-06-24 00:06:40 -05:00
sephiroth99 204e885d3d Add 'posix' as a platform suffix 2016-01-20 11:09:45 -05:00
Ben Vanik 5fb2c7cca1 1 linking and running tests for travis. 2016-01-01 20:55:32 +00:00
Ben Vanik c93b93fe55 Standardizing wchar->char in main(). 2016-01-01 12:46:26 -08:00
Ben Vanik 8770e6e6cf Adding yaml-cpp for #428, use rando fork until jbeder/yaml-cpp#342 lands. 2016-01-01 12:13:36 -08:00
Ben Vanik 8ab71d7e51 xb gputest and reference repo - woo. 2015-12-31 12:27:26 -08:00
Ben Vanik f1ba191634 Upgrading to the latest premake and adding tool for dumping LLVM json. 2015-12-31 00:37:13 -08:00
Ben Vanik 51af658994 Renaming to match no .py style. 2015-12-30 23:01:06 -08:00
Ben Vanik 13a90b2db2 Adding prebuilt premake5.exe back. 2015-12-30 17:26:03 -08:00