James Benton
f50fea945d
Update usage of deprecated fmt::format_to API.
2022-01-22 13:43:32 +00:00
James Benton
ac3a004722
Update libraries/gsl-lite
2021-02-21 11:16:52 +00:00
James Benton
173f81154e
Remove some unused includes.
2019-12-09 22:24:14 +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
1f3907c928
gfdtool: Fix for new untiling API.
2019-12-05 19:28:03 +00: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
James Benton
1d4d96508c
gpu7/tiling: Change how SurfaceDescription is specified.
2019-11-27 05:25:33 -08:00
James Benton
9c4b7e2539
gfd-tool: Fix missing null terminator.
2019-11-19 22:36:00 +00:00
James Benton
1dc2c3a278
common: Change log.h to no longer include spdlog.h
2019-01-31 10:42:57 +00:00
Andrew Udvare
6ce9817620
cmake: Modify binary install path.
2019-01-29 08:43:51 +00:00
James Benton
c83602a28b
gfd-tool: Add support for disassembling raw shader binaries.
...
Closes #520 .
2019-01-06 10:10:38 +00:00
James Benton
f082d6038a
cmake: Cleanup some library dependencies.
2018-12-15 08:36:59 +00:00
James Benton
37220b1a4e
gpu7/tiling: Change to rely on addrlib ComputeSurfaceInfo and fix bank swap.
2018-12-07 13:28:07 -08:00
James Benton
b77a5e1d60
Add a new tiling library and use it for untiling in gfdtool.
...
More optimised - copies as much data as it can rather than operating on
single pixels.
And much easier to use than addrlib.
2018-11-07 11:47:19 +00:00
James Benton
ad05d9c801
Update fmtlib to 5.1.0 and spdlog to 1.1.0
2018-08-25 19:21:57 +01:00
James Benton
22e5322c08
Fix gfdtool for new hle gx2.
2018-08-16 14:39:51 +01:00
aliaspider
7cc7a268b2
gfd-tool: add GeometryShaderCopyProgram disassembly to printInfo.
2018-01-12 09:21:26 +00:00
James Benton
24f77c3994
common: Rename enumAsString to to_string.
...
More consistent with std::to_string and fmt::to_string.
2017-09-19 16:00:13 +01:00
James Benton
1793c456de
Add libraries/fmt.
...
Move spdlog to use external fmt rather than packaged fmt.
2017-09-19 11:54:12 +01:00
James Benton
f0ae3f4039
Rewrite gfd reading / writing and move it to libgfd.
2017-04-25 23:34:10 +01:00
James Benton
d67a59f6e4
Refactor GPU code out of libdecaf/gpu and in to libgpu.
2017-04-24 17:22:10 +01:00
James Benton
3c3646147f
New virtual memory implementation.
2017-04-21 00:19:39 +01:00
James Benton
a890721718
cmake: Cleanup install.
2017-03-16 13:27:19 +00:00
James Benton
94b97d79ef
Remove types.h and virtual_ptr.h
2017-03-01 13:43:16 +00:00
James Benton
4646c4190e
Update gsl-lite
2017-02-21 11:41:31 +00:00
James Benton
2edad665a3
Use CMake to build for Windows.
2017-02-20 19:25:39 +00:00
James Benton
5b3c7006dc
gfd-tool: Update to use new gfd::Reader.
...
This means we can now print all the pointed-to data, such as attribVars,
samplerVars, uniformVars, etc.
2016-10-02 12:27:55 +01:00
James Benton
d94502d600
gfdtool: Disable broken texture conversion.
...
This needs fixing... TODO!
2016-10-02 12:27:46 +01:00
Brett Lawson
e2b1d17831
Refactor decafsdl and libdecaf to support new backends.
...
Note that this refactor also includes a blank setup
for DX12 support.
2016-09-06 00:45:28 -07:00
Brett Lawson
9ae08f3e40
Implement a circular buffer to handle command buffer pool.
...
This more closely mimics the behaviour present in GX2. Note that
we currently require a lock to handle the pool itself, though in
the future, we may be able to implement a lock-free queue which
is used by the GPU to store `completed` buffers in, which can
later be picked up by GX2 when it tries to do an allocation. This
commit also cleans up a few things that were wierd about our
display list implementation.
2016-08-14 03:55:50 -07:00
James Benton
d92925d662
common: Improve bitfield syntax.
...
- bitfield.field() instead of .field().get()
- bitfield.field(x) instead of .field().set(x)
2016-08-04 16:07:21 +01:00
James Benton
6cf9ece11d
Fix some type conversion issues brought up by static analysis.
2016-08-03 11:49:41 +01:00
James Benton
ec66df5284
Fix gfdtool build.
2016-07-31 21:31:30 +01:00
James Benton
ac7dab4085
gx2: Move to use common enum macros.
2016-07-05 19:26:28 +01:00
James Benton
9c1b0eeba2
New simpler shader decompiler.
...
The previous shader decompiler tried to be very clever in reversing control flow,
that was a bit unreliable as it made a few assumptions which turned out to not
always be true. I believe in the future we could still write a proper decompiler
which correctly reverses control flow by inspecting the stack, but for now let's
keep it very simple and use a basic bitch decompiler which uses an actual shader
stack similar to how the GPU itself works.
2016-07-03 21:46:48 +01:00
James Benton
f5abc2367b
Fix tools builds.
2016-06-14 01:17:31 +01:00
James Benton
a3e0b87f58
Add missing include
2016-06-12 01:58:59 +01:00
Brett Lawson
406391ff90
Use a spdlog formatter instead of linking hack.
2016-06-11 00:34:43 -07:00
James Benton
4680c29074
gfdtool: Fix copypasta.
2016-06-07 20:11:39 +01:00
James Benton
7d2dad7c15
latte: Update CB_SHADER_CONTROL to use Bitfield.
2016-06-07 20:11:31 +01:00
James Benton
dbc54be0da
Fix gfd-tool argument parsing.
2016-06-06 21:00:09 +01:00
James Benton
121e41e308
Fix gfdtool build.
2016-06-06 00:13:34 +01:00
James Benton
49c1d7d724
Fix gfdtool build.
2016-06-02 22:40:53 +01:00
James Benton
565e21323e
Update gfdtool to use excmd instead of docopt.
2016-05-26 22:51:07 +01:00
James Benton
8b23086243
Fix gfdtool build.
2016-05-24 21:34:04 +01:00
Sebastian Schäfer
c79c9f5f07
Fixed a minor bug during Debug mode compilation.
...
- Namespace gx2:: was missing while referencing identifier GX2Texture in Debug assert.
2016-03-03 17:04:01 +01:00
James Benton
4ddf67e141
gfdtool: Add geometry shader dumping.
2016-01-25 20:24:43 +00:00
James Benton
fc79a9f1ed
gfdtool: Add missing gx2:: namespace usage.
2016-01-25 20:13:57 +00:00