Commit graph

198 commits

Author SHA1 Message Date
Brett Lawson
406391ff90 Use a spdlog formatter instead of linking hack. 2016-06-11 00:34:43 -07:00
James Benton
7b57cbff2b hwtests: Disable testing of fpscr.ux flag for now.
Seems to be causing loooads of failures.
2016-06-08 00:29:07 +01:00
James Benton
0844febce0 hwtests: Improve fpscr printing on test fail. 2016-06-08 00:28:59 +01:00
James Benton
311c87aa77 Fix harware tests build. 2016-06-08 00:13:27 +01: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
f81ff58aeb Fix fuzztests build. 2016-06-06 00:35:54 +01:00
James Benton
121e41e308 Fix gfdtool build. 2016-06-06 00:13:34 +01:00
Brett Lawson
0027d65f56 Move utils/ to decaf-common project.
This also moved wfunc_ptr.h and wfunc_call.h to the
ppctypes folder instead of common.
2016-06-06 02:13:12 -07:00
Brett Lawson
51c36260fd Fix hardwaretests so that it works properly again. 2016-06-06 01:30:32 -07:00
Brett Lawson
624b97ca51 Move hardwaretests to its own project. 2016-06-06 01:30:30 -07:00
Brett Lawson
28006a098e Moved fuzztests to their its own project.
Fuzztests rely on decaf-cpu only, and does not care about
decaf itself.
2016-06-06 01:30:29 -07: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
cfb0848a6a Fix hwtest projects. 2016-05-24 23:45:13 +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
James Benton
ab3feb1caf Unify gsh-disassemble and gtx-convert into gfd-tool.
Close #97.
2015-12-14 00:59:10 +00:00
James Benton
29f29a0418 Update gtx-convert to use addrlib. 2015-12-14 11:29:16 +00:00
James Benton
ed6d803af7 Rewrite texture code to use addrlib. 2015-12-14 11:29:15 +00:00
James Benton
66f2310c0b Add hardware test client source. 2015-12-09 01:51:10 +00:00
James Benton
6cb6f5f8dd Refactor shader translator and disassembler.
Now share a common decoder.
Decoder using AMD style structs and enums.
2015-12-09 01:51:09 +00:00
James Benton
b01296b045 Cleanup gx2_debug gfd writing. 2015-12-01 20:38:03 +00:00
Emmanuel Gil Peyrot
c6f6e7b62c Remove executable bit on source files which shouldn’t be executable. 2015-11-28 18:29:20 +00:00
James Benton
b3e51ce26e Fix tool builds. 2015-11-22 18:19:11 +00:00
James Benton
bf72c7dd3b Basic texture implementation. 2015-11-22 18:03:59 +00:00
James Benton
54b252e3fc Start thinking about some shader stuff. 2015-11-17 01:34:52 +00:00
James Benton
6ea903bfa1 Fix gtx-convert build.
Closes #84.
2015-10-30 20:07:48 +00:00
James Benton
055314c8bc Add .gtx file dumper to gx2 debug texture dumper. 2015-10-30 02:49:08 +00:00
James Benton
76bef0d59f Implement GX2CalcSurfaceSizeAndAlignment.
Change untile integer types to size_t.
2015-10-29 02:14:23 +00:00
James Benton
68ea09b161 Initial rewritten untile implementation. 2015-10-28 02:56:11 -03:00
James Benton
f4fe207bf9 Create texture converter project. 2015-10-28 02:56:11 -03:00
James Benton
0976ab605e Fix gsh-disassemble build.
On a related note - need to clean up hlsl_generator.cpp
2015-10-26 21:41:12 +00:00
James Benton
361ef9c4de Allow gsh-disassemble to read standalone shaders. 2015-10-26 19:47:22 +00:00
James Benton
0b8a0c401b Fix build. 2015-10-25 22:40:01 +00:00
James Benton
d25b9d8d27 Fix gsh-disassemble build. 2015-10-20 23:43:40 +01:00
James Benton
40e5e73258 Add hardware test tools. 2015-10-20 23:41:56 +01:00
James Benton
2bd18d0082 Cleanup some HLSL generation stuff. 2015-10-13 20:11:06 -03:00
James Benton
a7b223d823 Add analyse stage to shader decompiler.
This stage is to track variable usage.
Clean up the PV / PS mess, now only declared when needed.
2015-10-12 20:26:48 +01:00
James Benton
657fcb57a2 Try out this gsl array_view thing. 2015-10-08 23:08:44 +01:00
Brett Lawson
3727eff0ec Resolve GSH constness shenanigans. 2015-08-26 21:34:46 -04:00
James Benton
990088ff2a Start work on HLSL generation. 2015-08-18 23:48:26 +01:00
James Benton
79f34773d4 Further work on shader decompiler.
Can now break it down into AST-like blocks of code.
2015-08-17 01:22:31 +01:00
James Benton
65a0438900 Start the shader decompiler. 2015-08-14 00:32:10 +01:00
James Benton
1e6acf64f2 Start shader disassembler. 2015-08-05 23:26:20 +01:00