Commit Graph

120 Commits

Author SHA1 Message Date
raven02
f41c500c43 gl4: minor read format fix 2015-06-26 22:27:59 +08: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
raven02
1fb2ccb552 Add back the comment and we can check it again in future 2015-06-22 09:22:31 -07:00
raven02
68e12a4664 typo fix 2015-06-22 09:07:55 -07:00
raven02
d2de2bf652 gl4 : clear depth and stencil seperately using the DSA version 2015-06-22 09:04:34 -07:00
raven02
abda769c45 gl4: more color formats 2015-06-19 06:11:42 -07:00
sephiroth99
d708e2899f gl4: command_processor: fix locations in geometry shader header
The vertex shader outputs VertexData at location 1. Similarly, the pixel
shader's VertexData input is at location 1.

The geometry shader has both its input and output of VertexData at
location 0. Change it to location 1 so it matches the interface of
the other two shaders.
2015-06-18 02:01:36 -04: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
gibbed
cc79934fee Added k_16_16_16_16. 2015-06-06 18:10:17 -05:00
Ben Vanik
954b67df78 Adding readback color format. 2015-06-02 22:46:53 -07:00
Ben Vanik
c4ef5d4eb8 Allow AllocFixed of unreserved ranges. 2015-05-29 21:47:19 -07:00
gibbed
35bea36fc4 Added a magic value to XE_SWAP packets to make it obvious if there's an opcode collision. 2015-05-29 15:59:56 -05:00
Ben Vanik
8244409501 Refactoring to enable future time scaling, coordinated clocks, etc. 2015-05-26 22:20:58 -07:00
Ben Vanik
41cee3d337 Switching vsync to custom thread. 2015-05-25 21:12:27 -07:00
Ben Vanik
e3ddcd44e7 Minor fixes and fixing thread names. 2015-05-25 21:10:28 -07:00
Ben Vanik
7cabcad69e f5 now also clears cached framebuffers/targets. 2015-05-25 14:58:46 -07:00
Ben Vanik
5cfb69434c Modules using object_ref. 2015-05-25 00:51:27 -07:00
Ben Vanik
fff1a7c132 Switching std::thread to XThread and hosting in object_refs. 2015-05-25 00:51:26 -07:00
Ben Vanik
f88bf33b4f Moving threads to XHostThread and making shutdown not crash. 2015-05-19 22:20:49 -07:00
Ben Vanik
147a70b9c1 Rewriting memory manager. 2015-05-17 00:16:56 +01:00
gibbed
c5c312eb8f ColorFormat::k_16_16_FLOAT support, maybe. 2015-05-12 06:51:32 -05: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
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
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
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
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
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
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
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
22246cccb5 Whoops - my arbitrarily picked GPU command # collided -_- 2015-03-20 16:37:04 -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
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