Commit Graph

40 Commits

Author SHA1 Message Date
raven02
44a1fa0c9c Fix distance vector 2015-11-28 13:17:29 +08:00
Ben Vanik
89172da4b7 Unplumbing program_cntl and simplifying shader loading. 2015-11-24 20:24:35 -08:00
Ben Vanik
b970b970f0 Removing another scalar component swap from #273. 2015-11-12 15:53:16 -08:00
Ben Vanik
e858f87e3e Reverting component changes from #273. 2015-11-12 14:14:37 -08:00
Dan Weatherford
2fda17cf3c Fix relative constant fetch on second source operand of shader instruction
The sense for this test was backwards, causing AppendSrcReg to read the wrong
const_n_rel_abs flag if the first operand was not a constant fetch.
2015-11-11 17:13:48 -06:00
Ben Vanik
a92566dfc5 More style. 2015-08-07 21:29:03 -07:00
Ben Vanik
2f1d49aa32 xenia-gpu mostly clang clean. 2015-07-19 21:48:47 -07:00
Ben Vanik
8c69a4df09 Cleaning up apu/ and renaming -private files to _flags.
Part of #296.
2015-06-27 11:25:56 -07:00
Ben Vanik
fb1f4906d9 xb format --all (we are now format clean). Buildbot will yell at you. 2015-06-22 22:26:51 -07:00
dariosamo
e5727e7e2a GL4 Translator: ADDs/MULs/SUBs changed to XZ instead of XY. Basic implementation of loops for FLOW_CONTROL. 2015-06-21 14:09:41 -03:00
Ben Vanik
b6728ce23e Removing additional varargs trampoline in shader translator. 2015-06-03 22:34:58 -07:00
Ben Vanik
d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik
e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07:00
Ben Vanik
30f7effa73 Code cleanup: removing common.h 2015-05-02 01:25:59 -07:00
Ben Vanik
b392afbfae Basic cubemap support, though the sampling code is wrong. 2015-03-22 19:15:22 -07:00
Ben Vanik
559cda3215 Forcing depth clear - not right, but gets atrain working. 2015-03-22 01:07:14 -07:00
Ben Vanik
1608878437 Trying to figure out shader flow control; not going so well :/ 2015-03-15 16:55:20 -07:00
Ben Vanik
35513ceea0 Constant slot pairing... maybe. 2015-03-15 14:21:09 -07:00
Ben Vanik
795df80687 Possibly right const addressing and more shader instructions. 2015-03-15 11:20:19 -07:00
Ben Vanik
64c8d7ab98 MRTs and some more texture formats. 2015-03-15 02:05:01 -07:00
Ben Vanik
613fdac71d Implementing one case of conditional shader execution blocks. 2015-03-14 23:55:33 -07:00
Ben Vanik
55556e774f vs export mode 2 is ok. 2015-03-14 20:07:55 -07:00
Ben Vanik
7192728fe0 Playing more with viewport stuff. 2015-03-14 16:11:55 -07:00
Ben Vanik
5c33925995 Massive reworking of shader translator; for ALU ops only. 2015-03-08 22:08:53 -07:00
Ben Vanik
98194f0482 Assert on failure to compile glsl and unimplemented shader instrs. 2015-03-08 21:57:44 -07:00
Ben Vanik
4915837c35 Fixes #163: scalar dest export regs. No more rainbow sky! 2015-02-13 10:12:19 -08:00
Ben Vanik
3567cbc2cc ADD/MUL/SUBs. 2015-02-05 22:40:52 -08:00
Ben Vanik
00e4a4fe1b Fix #include format. 2015-01-31 22:49:47 -08:00
Ben Vanik
4fcf9c6229 MultiDrawIndirect draw batching - now down to <20us per draw. 2015-01-04 11:20:42 -08:00
Ben Vanik
eda38a7428 Misc tweaks. 2015-01-04 04:59:26 -08:00
Ben Vanik
be05ab6ffe New shader instrs. 2015-01-02 00:26:52 -08:00
Ben Vanik
8b8d692f06 Partial shader instr predication. 2015-01-01 22:55:10 -08:00
Ben Vanik
ba0745abe2 Hack for weird pixel shader export. 2015-01-01 18:18:47 -08:00
Ben Vanik
2241795713 exp/sqrt shader ops, retain_prev hack. 2015-01-01 16:47:19 -08:00
Ben Vanik
0e04e1c455 Draw tex coords for invalid textures. 2015-01-01 12:25:16 -08:00
Ben Vanik
8a70316275 Tweaking. 2014-12-31 19:27:02 -08:00
Ben Vanik
8869d4620f Fixing clears. 2014-12-31 19:27:01 -08:00
Ben Vanik
dfc260b86e Textures and such. 2014-12-31 19:27:01 -08:00
Ben Vanik
5b2672a1b8 GLSL shaders translating (modulo texture fetches). 2014-12-31 19:27:01 -08:00
Ben Vanik
58cff84550 Copying over the shader translator - generating d3d shaders now. 2014-12-31 19:27:00 -08:00