Henrik Rydgård
|
96cd368878
|
Make VulkanTexture "immutable".
|
2017-11-01 08:49:48 +01:00 |
|
Henrik Rydgård
|
700d6d10f4
|
Always recreate DrawPixelsTex to avoid inter-frame races.
|
2017-11-01 08:48:06 +01:00 |
|
Henrik Rydgård
|
6a8f72a327
|
Use the global curFrame counter. No need for a vector for pushing cmdbufs.
|
2017-11-01 08:47:50 +01:00 |
|
Henrik Rydgård
|
90d4296a6a
|
Add a QueueRunner logging facility. Set up a subpass dependency for the backbuffer pass.
|
2017-11-01 08:45:14 +01:00 |
|
Henrik Rydgård
|
330bdb8be8
|
Add and update some comments.
|
2017-11-01 08:42:49 +01:00 |
|
Henrik Rydgård
|
9e734b3791
|
Decimate descriptors every frame until I find a better solution. Fixes flicker in videos in several games.
|
2017-11-01 08:42:48 +01:00 |
|
Henrik Rydgård
|
ed2731d197
|
Vulkan: Fix depal and shader blending.
|
2017-10-31 12:35:00 +01:00 |
|
Henrik Rydgård
|
07dfda0633
|
Vulkan depal code now passes validation, but produces black.
|
2017-10-31 12:35:00 +01:00 |
|
Henrik Rydgård
|
3f503ca297
|
Implement the rest of Vulkan framebuffer depal. Not yet working though.
|
2017-10-31 12:34:59 +01:00 |
|
Henrik Rydgård
|
65e23bb9f3
|
Some reorganization. Start implementing framebuffer depal for Vulkan.
|
2017-10-31 12:34:31 +01:00 |
|
Henrik Rydgård
|
6253280fba
|
Delete superfluous bind of temporary render target on creation.
|
2017-10-31 12:34:31 +01:00 |
|
Henrik Rydgård
|
93c785b76d
|
Color-convert directly during the readback, saves a copy. Like we already do in D3D11.
|
2017-10-29 10:56:36 +01:00 |
|
Henrik Rydgård
|
9c254ea1c3
|
Revert most of the last commit - will do it differently.
|
2017-10-29 09:31:28 +01:00 |
|
Henrik Rydgård
|
a9f01c45e0
|
Use the CPU color conversion from GLES for readbacks in Vulkan (and D3D11). Fix bug.
|
2017-10-28 19:20:46 +02:00 |
|
Henrik Rydgård
|
7312576239
|
More buildfixes, warning fix, memory leak fix
|
2017-10-26 11:43:22 +02:00 |
|
Henrik Rydgård
|
07e8b4ff1a
|
Bump descriptor set limits, which became insufficient with the addition of tesselation (should really use separate big desc layouts for them)
|
2017-10-26 10:57:01 +02:00 |
|
Henrik Rydgård
|
8644e85d3d
|
Remove misguided hack.
|
2017-10-26 10:57:01 +02:00 |
|
Henrik Rydgård
|
613cc46285
|
Remove a bad check making us use the wrong way to copy depth buffers. Add a cap so we can try to unify BlitFramebufferDepth later.
|
2017-10-26 10:57:00 +02:00 |
|
Henrik Rydgård
|
12f8580984
|
Assorted fixes
|
2017-10-26 10:57:00 +02:00 |
|
Henrik Rydgård
|
85cb604a24
|
Fix (some) crashes on blits. Validation issues remain.
|
2017-10-26 10:57:00 +02:00 |
|
Henrik Rydgård
|
c4f0afc8a2
|
Clean out some obsolete code
|
2017-10-26 10:57:00 +02:00 |
|
Henrik Rydgård
|
b5e06f3c7d
|
VulkanRenderManager: BindPipeline should really be its own command. Tighten up some image transitions.
|
2017-10-26 10:57:00 +02:00 |
|
Henrik Rydgård
|
c403edfa89
|
Avoid re-binding pipelines.
|
2017-10-26 10:57:00 +02:00 |
|
Henrik Rydgård
|
1c5bd0f8dc
|
Move the VulkanRenderManager stuff to thin3d, fits in better there.
|
2017-10-26 10:56:59 +02:00 |
|
Henrik Rydgård
|
02f76ae4a8
|
Rendering basics now works.
|
2017-10-26 10:56:59 +02:00 |
|
Henrik Rydgård
|
0a0494ef8e
|
It builds! With some shortcuts, of course.
|
2017-10-26 10:56:59 +02:00 |
|
Henrik Rydgård
|
2c8fb0fbd1
|
Can't use the camera stuff on Android versions before 11. Fixes #10029.
|
2017-10-24 15:40:04 +02:00 |
|
Henrik Rydgård
|
27db1d558c
|
Comment and typo fixes.
|
2017-10-22 10:13:25 +02:00 |
|
Henrik Rydgård
|
8f9bb59005
|
Vulkan: Fix silly mistake in blend constant checks, thanks Unknown.
|
2017-10-22 10:07:49 +02:00 |
|
Henrik Rydgård
|
804aa79376
|
Various Vulkan image transition fixes and related
|
2017-10-20 18:09:05 +02:00 |
|
Henrik Rydgård
|
5da165fad6
|
More work towards passing 1.61 Vulkan validation layers
|
2017-10-20 17:19:07 +02:00 |
|
Henrik Rydgård
|
b886efe8f5
|
Another minor cleanup (DescribeCodePtr)
|
2017-10-20 11:06:12 +02:00 |
|
Henrik Rydgård
|
4a30aedc53
|
Unify and move around code to cleanup some debug accessors
|
2017-10-18 13:10:05 +02:00 |
|
Henrik Rydgård
|
d53c88456a
|
Unify GetFramebufferList() (trivial)
|
2017-10-18 12:49:15 +02:00 |
|
Henrik Rydgård
|
898716cc26
|
Unify DownloadFramebufferForClut
|
2017-10-18 12:34:01 +02:00 |
|
Henrik Rydgård
|
17576d7894
|
Remove more dummy code from Vulkan backend.
|
2017-10-18 12:27:58 +02:00 |
|
Henrik Rydgård
|
981c49615c
|
Unify FlushBeforeCopy. Remove old dummy methods from Vulkan framebuffer manager.
|
2017-10-18 12:26:02 +02:00 |
|
Henrik Rydgård
|
0d85f86e2d
|
Add some safety checks. Fix some inadvertent Y-flips (bit hacky).
|
2017-10-18 11:40:07 +02:00 |
|
Henrik Rydgård
|
4e3a9bc3e3
|
Unify some more framebuffer functions. Leave the GL stuff alone for now due to async.
|
2017-10-18 11:20:58 +02:00 |
|
Henrik Rydgård
|
f2ea0ce472
|
Unify (well, almost) GetOutputFramebuffer (D3D11/GL)
|
2017-10-18 10:54:26 +02:00 |
|
Henrik Rydgård
|
214270d192
|
Unify GetDepthBuffer/GetStencilBuffer in GL/D3D11
|
2017-10-18 10:54:26 +02:00 |
|
Henrik Rydgård
|
f220c74037
|
Remove comment, add check.
|
2017-10-16 16:28:27 +02:00 |
|
Henrik Rydgård
|
ad4bc3f9f4
|
Address review comments.
|
2017-10-16 14:32:26 +02:00 |
|
Henrik Rydgård
|
9b1ee6fce6
|
Unify GetFramebuffer in GLES and D3D11.
D3D9 is left behind for now, and Vulkan still needs implementation - got a branch with initial work towards that.
|
2017-10-11 13:39:34 +02:00 |
|
Henrik Rydgård
|
62972cb891
|
D3D11: Move to CopyFramebufferToSync where easily possible.
|
2017-10-11 13:34:31 +02:00 |
|
Henrik Rydgård
|
16e68aa7c7
|
Get rid of BindFramebufferForRead
|
2017-10-10 14:49:07 +02:00 |
|
Henrik Rydgård
|
5bbe0eb69a
|
Move GL readback to a Thin3D abstraction
|
2017-10-10 14:48:58 +02:00 |
|
Henrik Rydgård
|
2d94d45389
|
More format support in thin3d GL
|
2017-10-10 14:48:54 +02:00 |
|
Henrik Rydgård
|
0aa950b663
|
Start moving PACK_ALIGNMENT into SafeGLReadPixels
|
2017-10-09 15:43:26 +02:00 |
|
Henrik Rydgård
|
f760429792
|
Minor refactoring of framebuffer readbacks.
|
2017-10-09 15:17:55 +02:00 |
|