Commit Graph

53 Commits

Author SHA1 Message Date
Dr. Chat
e9dd0ce9de GL4Shader load from binary support 2016-02-05 16:02:14 -06:00
Dr. Chat
55a8964428 Fix shaders reading 10_11_11 bitfields backwards. 2016-01-18 15:46:41 -06:00
Dr. Chat
990a8baf1b Fix cases where GL_INFO_LOG_LENGTH returns 0. 2015-12-22 20:15:07 -06:00
Dr. Chat
59bee898f7 Always output the shader info log if it's not empty. 2015-12-22 14:41:18 -06:00
Ben Vanik
c86e479214 Replacing old Shader with TranslatedShader. 2015-12-06 10:36:07 -08:00
Ben Vanik
51a8002629 Moving GL backend to new shader translator.
This seems to make a lot of things better, but may also break things.
Cleanup to follow.
2015-12-06 00:48:41 -08:00
Ben Vanik
bea8870700 Shuffling old-style ucode.h under gl4. 2015-11-28 16:10:27 -08:00
Ben Vanik
54215d9fb4 Write shader binaries with --dump_shaders and load them in the compiler. 2015-11-24 20:45:23 -08:00
Ben Vanik
89172da4b7 Unplumbing program_cntl and simplifying shader loading. 2015-11-24 20:24:35 -08:00
Ben Vanik
a92566dfc5 More style. 2015-08-07 21:29:03 -07:00
Ben Vanik
e6461f326c Some xb style cleanup. 2015-08-05 22:06:20 -07:00
Dr. Chat
e6eb21f6ac %s 2015-07-21 22:20:54 -05:00
Dr. Chat
dda00b604b Don't try to use an invalid file! 2015-07-21 22:14:28 -05:00
Ben Vanik
2f1d49aa32 xenia-gpu mostly clang clean. 2015-07-19 21:48:47 -07:00
Ben Vanik
4732378ba9 Removing NV command list path, as it's unused and untested. 2015-07-01 07:36:12 -07:00
Ben Vanik
0ebee76bfe Moving common GL code out of gpu/. 2015-07-01 07:29:14 -07:00
Ben Vanik
0716cf84c0 Renaming xe::fs to xe::filesystem and xe::kernel::fs to xe::vfs.
Progress on #294.
2015-06-27 13:31:21 -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
cabf9d6261 Adding some GPU docs and creating output directories automatically. 2015-06-10 19:20:14 -07:00
Ben Vanik
a446d9c64a No need for thread-local shader translator as all reqs come from GPU CP. 2015-06-07 16:13:04 -07:00
sephiroth99
1139a1b6ac gl4: fix nullptr dereference in GL4Shader::CompileProgram
A nullptr dereference will occur when the disassembly string is not
found, which will obviously happen on AMD. Check for the condition and
if it is not found, put a message indicating so.
2015-06-04 23:52:47 -04:00
sephiroth99
fbb3878cf4 Remove cxx_compat.h header
Revert commits 6d159dc2 and 3f480d24. Visual Studio 2013 is not
supported anymore, so they are not needed.
2015-05-02 09:36:34 -04:00
Ben Vanik
e3220f7ae6 Code cleanup: moving poly/ into xenia/base/ 2015-05-02 03:42:51 -07:00
Ben Vanik
d76998915a Code cleanup: moving poly logging to xenia 2015-05-02 01:59:50 -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
2401bb7d03 Fixing 1px offset in tiles. 2015-03-21 22:52:35 -07:00
Ben Vanik
494e918496 Fixing alpha testing. 2015-03-21 03:21:55 -07:00
Ben Vanik
f7d0c427be Implementing alpha testing. 2015-03-20 20:12:27 -07:00
Ben Vanik
d695f637a8 int draw offsets. 2015-03-20 16:47:31 -07:00
Ben Vanik
795df80687 Possibly right const addressing and more shader instructions. 2015-03-15 11:20:19 -07:00
Ben Vanik
613fdac71d Implementing one case of conditional shader execution blocks. 2015-03-14 23:55:33 -07:00
Ben Vanik
7192728fe0 Playing more with viewport stuff. 2015-03-14 16:11:55 -07:00
Ben Vanik
d57306b473 Possibly fixing transforms. 2015-03-10 20:25:14 -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
9db38ac860 Kind of fixing window coordinates. 2015-03-06 13:42:56 -08:00
Ben Vanik
41174b0e64 Hacktastic GPU trace viewer; textures, shaders, state, etc. 2015-03-01 12:26:11 -08:00
Ben Vanik
5b759d387c Starting to reverse XGI app. 2015-02-01 17:25:18 -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
1c068a601d Munging with viewport stuff. Nasty. 2015-01-02 00:27:05 -08:00
Ben Vanik
6d159dc20d Adding cxx_compat for VS2013 build. Fixes #122. 2015-01-01 22:55:55 -08:00
Ben Vanik
2241795713 exp/sqrt shader ops, retain_prev hack. 2015-01-01 16:47:19 -08:00
Ben Vanik
825c09dd16 Viewport tweaking. Most stuff works better, now. 2015-01-01 11:59:23 -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
Ben Vanik
6573c87b8d --dump_shaders 2014-12-31 19:27:00 -08:00