Commit graph

166 commits

Author SHA1 Message Date
p01arst0rm a1bb6cc142 moved vswhere to tools directory 2022-12-28 14:17:24 -06:00
Triang3l 45050b2380 [GPU] Vulkan fragment shader interlock RB and related fixes/cleanup
Also fixes addressing of MSAA samples 2 and 3 for 64bpp color render targets in the ROV RB implementation on Direct3D 12.
Additionally, with FSI/ROV, alpha test and alpha to coverage are done only if the render target 0 was dynamically written to (according to the Direct3D 9 rules for writing to color render targets, though not sure if they actually apply to the alpha tests on Direct3D 9, but for safety).
There is also some code cleanup for things spotted during the development of the feature.
2022-10-09 22:06:41 +03:00
Triang3l 037310f8dc [Android] Unified xenia-app with windowed apps and build prerequisites 2022-07-11 21:45:57 +03:00
Alex Messier 53320d7ef2 Add descriptive error message when pkg-config fails
The pkg_config helper for premake was not checking for errors. When it
failed to run, either when it is not installed or the queried package is
not found, a cryptic error message would be printed:

"Error: .../xenia/third_party/premake-core/src/base/string.lua:36: attempt to index a nil value (upvalue 's')"

Fix this by checking the return status when calling pkg-config and
printing a descriptive error message.
2022-04-05 00:11:54 -05:00
Rick Gibbed 7fc93185f2 Replace premake5 binary with CI artifact. 2022-01-02 15:49:18 -06:00
Rick Gibbed 094c20bd4e Update premake-core. 2022-01-02 15:43:59 -06:00
Triang3l dbd518f137 [Android] Clone Premake from sdcard to a hidden directory 2021-11-02 03:03:45 +03:00
Triang3l 7e6cf349e2 [Build] Use first-party premake-androidndk (#1878) 2021-10-30 00:01:27 +03:00
Triang3l 6ce5330f5f [UI] Loop thread to main thread WindowedAppContext 2021-08-28 19:38:24 +03:00
Jonathan Goyvaerts 48bb93a9ca [Linux] Fix pkg-config trailing space causing premake to output an extra empty library -l
Fixes #1868
2021-07-21 09:40:20 -05:00
Triang3l a7efdd9ed8 [Build] Run pkg_config only on Linux, not all non-Windows 2021-07-20 20:16:39 +03:00
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