James Benton
089fc5f42c
Fix compiling tests.
2022-05-07 13:37:35 +01:00
James Benton
600337d414
Port to vcpkg
2022-01-22 13:43:32 +00:00
curtisy
6d26647378
Replace deprecated VK layer validation
2020-11-16 15:31:15 +00:00
Brett Lawson
10c44a7c3e
tools: Cleaned up to pass /W4 without warnings.
2019-12-09 11:42:46 -08:00
Brett Lawson
ebdda775ab
global: Reduced usage of fmt/format.h to only where neccessary.
2019-12-08 08:19:12 -08:00
James Benton
c9e1cb9e95
cmake: Change glslang to use add_subdirectory instead of externalproject.
2019-12-06 10:41:55 +00:00
Brett Lawson
4636a83765
gpu: Removed some pragma optimize's committed in error.
2019-12-05 07:17:15 -08:00
Brett Lawson
b8b41add42
gpu: Major refactor of retiler implementation.
...
This commit converges the CPU and GPU retiling
implementations to have a common interface. It
also converges their actual implementations to
be the same for both, allowing debugging and
performance improvements to the retiler on CPU
before porting to GPU. This commit also updates
the retiler testing to be a lot more consistent,
and also ensures that both tiling AND untiling
are behaving appropriately.
2019-12-05 07:01:17 -08:00
Brett Lawson
fda30c4df6
retile-test: Removed mipmaps as they do not affect the retiler.
2019-12-05 07:01:16 -08:00
Brett Lawson
f3fb5ad6a0
gpu7: Drop unused slice argument from computeSurfaceInfo
2019-12-05 07:01:16 -08:00
Brett Lawson
eac5c62141
gpu7: Refactor retiling execution to its own namespace.
2019-12-05 07:01:16 -08:00
Brett Lawson
2f7a4f51d0
gpu7: Remove dependancy on addrlib from gpu7 tiling headers.
2019-12-05 07:01:16 -08:00
Brett Lawson
1ff32233f3
tests/gpu_tiling: Fix vulkan to use new tiling description.
2019-11-27 05:44:37 -08:00
James Benton
1d4d96508c
gpu7/tiling: Change how SurfaceDescription is specified.
2019-11-27 05:25:33 -08:00
James Benton
355f006292
tests/gpu/tiling: Enable mipmap testing.
2019-11-27 05:25:33 -08:00
James Benton
b974856df1
tests/gpu/tiling: Fix inputBaseMap value for mipLevels != 0.
2019-11-27 05:25:33 -08:00
James Benton
855b50f1c7
tests/gpu_tiling: Fix indentation in addrlib_helpers.h
2019-11-27 05:25:33 -08:00
James Benton
70ad361a65
Move wut based tests to their own repository.
...
https://github.com/decaf-emu/wiiu-tests
2019-11-22 11:47:21 +00:00
James Benton
ea3bb3c5b8
Fix Vulkan XLIB.
2019-10-19 16:07:32 +01:00
James Benton
318d2b0b5c
tests: Fix gpu tiling test compile.
2019-09-26 17:18:46 +01:00
James Benton
a2f15542c0
tests: Fix compile from changes to cpu disassembly functions.
2019-09-26 17:18:46 +01:00
James Benton
bf2a75ce8a
Fix tiling_test build
2019-02-03 10:55:37 +00:00
James Benton
4aa1ec57f1
decaf: New VFS implementation.
2019-02-02 15:11:27 +00:00
James Benton
1dc2c3a278
common: Change log.h to no longer include spdlog.h
2019-01-31 10:42:57 +00:00
James Benton
c540695c9d
cmake: Remove install for tests.
2019-01-29 08:44:20 +00:00
James Benton
f1587ca593
Refactor configuration for libcpu, libgpu and libdecaf.
2019-01-03 20:51:11 +00:00
Brett Lawson
720410d922
Remove some accidentally included pragma optimize directives.
2018-12-18 14:32:35 -08:00
James Benton
f082d6038a
cmake: Cleanup some library dependencies.
2018-12-15 08:36:59 +00:00
Brett Lawson
17efcef530
tests/tiling: Substantially improved testing coverage.
2018-12-09 03:13:15 -08:00
James Benton
6383e26fc9
tests: Added GPU7 retiling test tool.
2018-12-09 03:13:15 -08:00
CreeperMario
d2e4082a13
tests/alarm_multithread: Remove use of default core threads
...
* On-console tests show that the default threads on cores 0 and 2
cannot seem to be joined from the core 1 thread (OSJoinThread
immediately returns FALSE), which makes sense as these threads are
created before the program launches and are likely never supposed to
terminate.
* In addition to not working correctly on hardware, Decaf throws an
assertion failure from within its emulated OSJoinThread function
complaining about the thread not being in the right state to be
joined.
* The solution I found for this is to create new threads instead of
using the default threads on cores 0 and 2. This seems to solve the
problem both within Decaf and on-console.
* An alternative solution would be to have a variable be modified by
both threads upon their exit and have the main thread check these
variables, but I thought that would have been messier.
2018-12-04 11:44:57 +00:00
CreeperMario
5af80bfb08
tests/cpu: Fix build errors from incompatible lambda expression
...
* Adds a cpu::Core argument to the lambda expressions used in
runner-achurch and runner-generated so that the resulting expression is
compatible with cpu::EntryPointHandler
* Includes spdlog/sinks/stdout_sinks.h manually - an upstream bug?
* Removes references to deprecated be_val header
2018-12-04 11:44:57 +00:00
CreeperMario
d33ce5e23e
tests/hle: Update to support building with new wut versions
2018-12-04 11:44:57 +00:00
Jack Wakefield
26c27c71af
tests: Correct 'disasembly'
2018-09-01 19:53:00 +01:00
James Benton
4058a73baa
cpu: Rename espresso_registers.h to espresso_registerformats.h
2018-06-22 12:31:00 +01:00
James Benton
f76de3aedc
Fix libcpu tests to reflect changes to big endian helpers.
2017-09-20 16:25:02 +01:00
James Benton
5b766426ff
latte-assembler: Fix unnecessary padding when there are no ALU or TEX clauses.
2017-06-15 18:40:52 +01:00
James Benton
e77c6718da
tests: Update gx2/triangle.c
...
Still trying to get this to work on hardware, probably an error with my
shader assembler..!
2017-06-15 18:40:52 +01:00
James Benton
7119e455de
tests: Add OSPeekMessage tests.
...
Also rename some other tests.
2017-05-26 18:35:07 +01:00
James Benton
7f59207e48
tests: Fix filesystem_read test swapping count & size.
2017-05-26 18:26:47 +01:00
James Benton
91a8c8e621
tests: Add some tests for OSMessageQueue.
2017-05-26 18:26:14 +01:00
James Benton
812483b58b
tests: Remove unused data from hle test thread_cancel
2017-05-26 18:25:43 +01:00
James Benton
22aaf642c2
tests: Add a simple gx2 triangle rendering test.
...
This isn't a proper test yet as it just runs forever.
We need to add some graphical test automation to get this running as a "test".
2017-05-11 21:11:12 +01:00
James Benton
6f42b13767
ctest: Fix test working directory.
2017-05-11 21:10:20 +01:00
James Benton
4b9ced70b3
cmake: Add shader assembly for gx2 hle tests.
2017-05-11 21:10:01 +01:00
James Benton
31260ae4ea
tests: Use wut add_rpx_lite for tests.
2017-05-10 18:01:21 +01:00
James Benton
cd66b50484
cmake: Add hle tests to ctest.
2017-04-26 13:05:13 +01:00
James Benton
3e9b5a9694
tests-hle: Fix filesystem_read test using wrong error flags.
2017-04-26 13:04:45 +01:00
James Benton
07433f885f
tests-hle: Fix frameheap_unaligned test.
2017-04-26 13:04:19 +01:00
James Benton
a364565f8b
Move to a .toml config file and try to unify config loading.
...
Still not an ideal solution, but it's at least a step in the right direction.
2017-04-24 23:32:00 +01:00