Commit Graph

1640 Commits

Author SHA1 Message Date
Ben Vanik d1ee1512b9 Fixing most clang-format errors. 2015-05-03 10:27:50 -07:00
Ben Vanik 6b22d35bfc Skeleton debugger. Here we go again! 2015-05-03 10:25:16 -07:00
Ben Vanik ce7270b839 Readme cleanup. 2015-05-02 11:07:40 -07:00
Ben Vanik d9e4bc98e1 Code cleanup: removing cxx_compat.h 2015-05-02 10:55:22 -07:00
Ben Vanik f8a2ed205e Merge pull request #185 from sephiroth99/remove_extra_headers
Remove cxx_compat.h header
2015-05-02 10:50:56 -07:00
Dr. Chat b87b7472e0 Fix splat w/ F32 2015-05-02 09:32:21 -05:00
Dr. Chat 850e80396f Whoops (again) 2015-05-02 09:32:13 -05:00
Dr. Chat 7844dfa034 Corrected vec splat alt. instructions 2015-05-02 09:32:03 -05:00
Dr. Chat b4025c889a whoops 2015-05-02 09:31:52 -05:00
Dr. Chat c464584e89 CNTLZ alternative instructions 2015-05-02 09:31:43 -05:00
Dr. Chat 414e5b2d30 Replaced some AVX2 instructions with non-AVX2 instructions if unsupported by CPU 2015-05-02 09:31:31 -05:00
Dr. Chat cad6ca6148 Include host CPU information in x64 emitter
Conflicts:
	src/xenia/cpu/backend/x64/x64_emitter.cc
2015-05-02 09:31:01 -05: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 99816056be Code cleanup: removing poly.h 2015-05-02 02:29:26 -07:00
Ben Vanik 642259e16f Code cleanup: moving ExportResolver to xe::cpu 2015-05-02 02:11:11 -07:00
Ben Vanik d76998915a Code cleanup: moving poly logging to xenia 2015-05-02 01:59:50 -07:00
Ben Vanik f7ca026db0 Code cleanup: moving poly::ui to xe::ui 2015-05-02 01:50:19 -07:00
Ben Vanik 4d15b2296e Code cleanup: removing config.h and cleaning up platform.h 2015-05-02 01:41:39 -07:00
Ben Vanik 30f7effa73 Code cleanup: removing common.h 2015-05-02 01:25:59 -07:00
Ben Vanik 727ffaa122 Various fixes and utilties. 2015-05-02 00:26:03 -07:00
Ben Vanik 98e7e2727b Updating deps. 2015-05-01 18:53:39 -07:00
Ben Vanik 6d8a226d7f Code cleanup. 2015-03-29 11:27:33 -07:00
Ben Vanik 45b2d2ceea Fixing xaudio2 memory type. 2015-03-29 11:26:16 -07:00
Ben Vanik ec84a688e9 Starting to properly attribute virtual vs. physical memory accesses. 2015-03-29 11:11:35 -07:00
Ben Vanik ab90e0932b Minor tweaks for crazy shaders. 2015-03-28 18:13:21 -07:00
Ben Vanik 3a197705bb Special memory functions for system allocs. 2015-03-28 15:54:44 -07:00
Ben Vanik 71eabf7f2b Fixing some misc bugs. 2015-03-28 15:45:39 -07:00
Ben Vanik 6bf84d832f fresx and some vec128 constant prop. 2015-03-25 19:17:16 -07:00
Ben Vanik 40591a5376 Fixing builtins. 2015-03-24 20:00:51 -07:00
Ben Vanik 281abea955 Converting addresses in xe::cpu to 32bit. 2015-03-24 19:41:29 -07:00
Ben Vanik 3279776a80 Moving cpu/frontend/ppc/ to cpu/frontend/. 2015-03-24 08:37:00 -07:00
Ben Vanik 9281d62106 Moving cpu/runtime/ to cpu/. 2015-03-24 08:25:58 -07:00
Ben Vanik 29912f44c0 Moving alloy/ into xenia/cpu/ to start simplifying things. 2015-03-24 07:46:18 -07:00
Ben Vanik 59395318f3 Moving some util types into poly. 2015-03-22 22:12:37 -07:00
Ben Vanik b392afbfae Basic cubemap support, though the sampling code is wrong. 2015-03-22 19:15:22 -07:00
Ben Vanik 7677d6ea9f Depth range. 2015-03-22 15:30:36 -07:00
Ben Vanik 8cfcea2309 32_32_F render target format. 2015-03-22 15:30:18 -07:00
Ben Vanik 6486299496 --flush_stdout to disable flushing. 2015-03-22 11:49:13 -07:00
Ben Vanik f8db3774cb Hiding draw batch flush scope. 2015-03-22 11:41:46 -07:00
Ben Vanik 11b0c076bd Adding basic short-term vb reuse, removing index counting.
Regression for some games (that don't size their fetches), massive
improvement for others.
2015-03-22 11:35:23 -07:00
Ben Vanik 159ebb4295 Removing unneeded stencil register logic. 2015-03-22 09:37:55 -07:00
Ben Vanik 08e652410e Plumbing scalar params through swap. Hacky, but works for replay. 2015-03-22 09:31:55 -07:00
Ben Vanik cef9a684cd Primitive reset. 2015-03-22 08:52:05 -07:00
Ben Vanik 559cda3215 Forcing depth clear - not right, but gets atrain working. 2015-03-22 01:07:14 -07:00
Ben Vanik b75e070d1b Fixing color/depth clear state. 2015-03-22 00:45:00 -07:00
Ben Vanik c8ddc48106 Fixing microprofile display. 2015-03-21 23:00:15 -07:00
Ben Vanik 2401bb7d03 Fixing 1px offset in tiles. 2015-03-21 22:52:35 -07:00
Ben Vanik fa58eaa317 Partial success on predicated tiling (depth buffer still bad). 2015-03-21 22:32:23 -07:00
Ben Vanik 7c3225ee41 Render target display in trace viewer. 2015-03-21 10:41:20 -07:00
Ben Vanik 494e918496 Fixing alpha testing. 2015-03-21 03:21:55 -07:00
Ben Vanik 704077d543 Removing unneeded glViewport. 2015-03-21 02:38:52 -07:00
Ben Vanik b406f49ae4 Extracting dest coords in copies; still not right. 2015-03-21 02:11:23 -07:00
Ben Vanik fe7de2c0ba Window offset goes here. Still broken due to copy issue. 2015-03-20 22:26:20 -07:00
Ben Vanik 6b7b57cecf Super basic vertex buffer display in trace viewer. 2015-03-20 21:54:52 -07:00
Ben Vanik 8ce30448f8 Index buffer display in trace viewer. 2015-03-20 20:41:58 -07:00
Ben Vanik f7d0c427be Implementing alpha testing. 2015-03-20 20:12:27 -07:00
Ben Vanik a82587f943 Fixing window offset and moving into state batch params. 2015-03-20 17:41:50 -07:00
Ben Vanik d695f637a8 int draw offsets. 2015-03-20 16:47:31 -07:00
Ben Vanik 92f1a7cb40 Show predication in trace viewer (colors not accurate yet). 2015-03-20 16:38:26 -07:00
Ben Vanik 22246cccb5 Whoops - my arbitrarily picked GPU command # collided -_- 2015-03-20 16:37:04 -07:00
Ben Vanik 0ea8f74cf8 Packet disassembler just for current command. 2015-03-15 21:22:23 -07:00
Ben Vanik b060f6f263 disasm set shader consts packet. 2015-03-15 20:59:21 -07:00
Ben Vanik 2157c8a2b2 Dropping a bunch of profiling - VB/IB upload is slow, that's about it. 2015-03-15 20:32:40 -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 341a493bf9 Discovered new GPU opcode for constant setting. 2015-03-15 12:26:40 -07:00
Ben Vanik 4d61bac00f Assert shader constant bases. 2015-03-15 11:34:33 -07:00
Ben Vanik d803612184 Fixing recording of LOAD_ALU_CONSTANT. 2015-03-15 11:27:04 -07:00
Ben Vanik 795df80687 Possibly right const addressing and more shader instructions. 2015-03-15 11:20:19 -07:00
Ben Vanik b07cd49281 Fiddling with msaa scaling. 2015-03-15 02:28:39 -07:00
Ben Vanik 86faacdb87 LOAD_ALU_CONSTANT also taking a target type. 2015-03-15 02:05:26 -07:00
Ben Vanik 64c8d7ab98 MRTs and some more texture formats. 2015-03-15 02:05:01 -07:00
Ben Vanik b818adbf6d SET_CONSTANT for the other types. I think. 2015-03-15 01:18:00 -07:00
Ben Vanik 1a9ce6edfa Somewhere the file access mode is messed up... 2015-03-15 00:18:18 -07:00
Ben Vanik 613fdac71d Implementing one case of conditional shader execution blocks. 2015-03-14 23:55:33 -07:00
Ben Vanik ff4e9c32b6 XamContentFlush stub. 2015-03-14 23:54:52 -07:00
Ben Vanik 0117c39968 Proper XamEnumerate return when there are zero items. 2015-03-14 23:54:43 -07:00
Ben Vanik c6c24d50bd Extra copy dest formats. 2015-03-14 20:27:34 -07:00
Ben Vanik 1358d54ce9 Not sure msaa scaling is required anymore - odd. 2015-03-14 20:08:25 -07:00
Ben Vanik a70533f1c5 Fast seek forward in trace viewer. 2015-03-14 20:08:05 -07:00
Ben Vanik 55556e774f vs export mode 2 is ok. 2015-03-14 20:07:55 -07:00
Ben Vanik 6f0ca00651 Screen extent write; doesn't seem to do anything :/ 2015-03-14 16:50:54 -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 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 c28cbba00c Bigger textures in trace viewer. 2015-03-08 21:57:04 -07:00
Ben Vanik b9f9e1bb2b Blitter handles color/depth texture copies. 2015-03-07 16:12:52 -08:00
Ben Vanik d72610ba1b Custom blitter for final resolve. 2015-03-07 10:17:09 -08:00
Ben Vanik 2bce5ba0d9 Skip all predicated swaps - this may be too aggressive. 2015-03-06 22:40:42 -08:00
Ben Vanik 05239daecf Fixing tracing of games that do everything in nested indirect buffers. 2015-03-06 22:27:41 -08:00
Ben Vanik 14c6fbfba4 Adding safety checks, disabling vendor gl extensions by default. 2015-03-06 21:54:59 -08:00
Ben Vanik 84fa131f12 Hacking on render targets. Kind of work in simple cases, upside down :/ 2015-03-06 20:36:10 -08:00
Ben Vanik a1e68c0036 Experimenting with clip mode but it doesn't work like I think it does. 2015-03-06 19:27:45 -08:00
Ben Vanik 9db38ac860 Kind of fixing window coordinates. 2015-03-06 13:42:56 -08:00
Ben Vanik 05bdbbbe84 Fixing packet disassembler. 2015-03-06 12:24:46 -08:00
Ben Vanik b19c98fd9a Fixing small textures. This was painful.
Fixes #173.
2015-03-05 22:22:34 -08:00
Ben Vanik 4b5f77bde4 Special quad list line geometry shader.
Fixes #174.
2015-03-03 20:31:05 -08:00
Ben Vanik 41174b0e64 Hacktastic GPU trace viewer; textures, shaders, state, etc. 2015-03-01 12:26:11 -08:00