Commit Graph

237 Commits

Author SHA1 Message Date
Dr. Chat
61e47167c0 [Vulkan] Replace vulkan-loader with volk 2018-05-04 16:49:46 -05:00
Dr. Chat
f54ac240a4 [Vulkan] Stupid hack to fix ABGR4 formats. 2018-05-04 09:45:42 -05:00
Dr. Chat
7a3d0b683b [Vulkan] Fix block pitch calculation of mips 2018-05-04 00:18:45 -05:00
Dr. Chat
f45cd398ef [Vulkan] Handle MIPs with non-power-of-two dimensions 2018-05-03 17:54:09 -05:00
Dr. Chat
f885b89a03 [Vulkan] Make image views cover all mips
Align texture dimensions to 1 block minimum (for uploading mips)
2018-05-03 14:15:36 -05:00
DrChat
1f157f35f4 [Vulkan] Initial support for mipmaps 2018-05-03 10:02:07 -05:00
DrChat
2b66a1b68f [Vulkan] Emulate Xenos behavior with copy dest at a negative offset
It appears the Xenos starts copying pixel data at the first encountered visible destination pixel, rather than texture mapping the source texture onto the destination polygon
2018-04-17 15:35:24 -05:00
DrChat
0cff91692e [Vulkan] Propagate errors in the render cache 2018-04-16 22:09:23 -05:00
DrChat
521b9eb5c5 [Vulkan] Fix window scale and offset calculation 2018-04-16 18:27:23 -05:00
DrChat
27c840fa91 [Vulkan] Fixup window offset calculation 2018-04-16 15:44:52 -05:00
DrChat
18d9efc93b [Vulkan] Bump down BufferCache alignment 2018-04-16 13:02:05 -05:00
DrChat
b90465e2e5 [Vulkan] Halve the viewport dimensions when viewport scaling is disabled (10240 -> 5120)
The negative part of the viewport is unused, so hijack the 2 unused parameters of the window scale to use as an offset
2018-04-16 12:54:50 -05:00
DrChat
25f93a171c [Vulkan] Support optional vertex window offset 2018-04-16 11:08:24 -05:00
DrChat
6ca771d26f [Vulkan] Handle window scissor window_offset_disable 2018-04-14 17:51:57 -05:00
DrChat
f8319ec12f [Base] Support sign-extension in bitfield 2018-04-14 17:34:21 -05:00
DrChat
0f0d600a5b Fix Travis 2018-04-13 21:45:47 -05:00
DrChat
39083acdcb [Vulkan] Bump up maximum number of vertex buffers 2018-04-13 21:09:56 -05:00
DrChat
399e1fac2a [Vulkan] Gracefully fail on copy if a target format is unsupported 2018-04-13 21:09:21 -05:00
DrChat
14abe1a407 Fixup 360 support 2018-04-03 19:02:49 -05:00
DrChat
a9d2a50082 [Vulkan] Add AMD shader statistics info support 2018-03-03 12:34:19 -06:00
DrChat
199328f971 [Vulkan] PipelineCache ClearCache support and pipelines counter 2018-03-03 11:36:12 -06:00
DrChat
43043fd4a8 [Vulkan] Track pixel center in pipeline cache (but don't apply it quite yet) 2018-03-03 10:30:59 -06:00
DrChat
c8698f912f [Vulkan] Add pending delete textures counter 2018-03-02 23:46:58 -06:00
DrChat
9235a8107b [Vulkan] Track active textures in the texture cache 2018-03-02 23:28:29 -06:00
DrChat
2e3115660f [Vulkan] Scavenge Profiling 2018-03-02 21:42:49 -06:00
DrChat
b3626a039b [Vulkan] Remove backend swap event (unused and confusing) 2018-03-01 10:19:11 -06:00
DrChat
b2f1bf914a [Vulkan] Set proper aspect mask in depth uploads 2018-03-01 09:54:15 -06:00
DrChat
2a52156edf [Vulkan] Change invalidated_textures_ to an unordered set 2018-02-24 14:23:22 -06:00
DrChat
a753dbed15 [Vulkan] Update the rest of the shaders 2018-02-24 11:15:58 -06:00
DrChat
8fd9ab8387 [Vulkan] Fix input mismatch in dummy.frag 2018-02-24 11:15:27 -06:00
DrChat
5a4dcd7043 [Vulkan] Shader module debug object names 2018-02-22 23:07:54 -06:00
DrChat
77da785d70 [Vulkan] Use locally generated texture binding indices instead of GPU indices 2018-02-22 21:00:54 -06:00
DrChat
ea5c98248f [Vulkan] Remove dead vertex input code from the pipeline cache 2018-02-22 14:01:52 -06:00
DrChat
1a263f14a2 [Vulkan] Hash and track vertex descriptor sets (similar to texture cache) 2018-02-20 21:25:51 -06:00
DrChat
16cf9883ca [Vulkan] Fix a couple validation errors 2018-02-19 11:19:24 -06:00
DrChat
fe9c83c15b [Vulkan] First working version of dynamic vfetch! 2018-02-18 23:22:02 -06:00
DrChat
4c766dcc61 [Vulkan] BufferCache: Fix a few problems 2018-02-18 20:54:29 -06:00
DrChat
4e1a55f585 [Vulkan] Bind the vertex set to DS slot 2 2018-02-18 18:50:53 -06:00
DrChat
9463732709 [Vulkan] BufferCache::PrepareVertexSet 2018-02-18 18:48:23 -06:00
DrChat
4be725c4b4 [Vulkan] Create/Free Vertex Descriptor Pool 2018-02-18 18:26:28 -06:00
DrChat
af406df793 [Vulkan] Move the constant descriptor set to its own setup/destroy functions 2018-02-18 18:11:52 -06:00
DrChat
300656f788 Merge branch 'master' into vk_vfetch 2018-02-18 17:02:59 -06:00
DrChat
79308b477f Merge branch 'vtx_cache' 2018-02-18 16:49:32 -06:00
DrChat
71e5e967ec [Vulkan] Disable vertex buffer cache expansion for now. 2018-02-18 16:49:15 -06:00
DrChat
05192e3c0f [Vulkan] Prevent negative scissor offsets 2018-02-18 15:14:34 -06:00
DrChat
1a113fb82b [Vulkan] Fix cube texture uploads 2018-02-18 14:59:34 -06:00
DrChat
1dba231049 [Vulkan] Handle primitive reset index on copy 2018-02-16 18:31:43 -06:00
DrChat
776b5eff36 [Vulkan] BufferCache: Add VertexBuffer struct 2018-02-16 16:51:32 -06:00
DrChat
db53559611 Merge branch 'master' 2018-02-16 16:34:17 -06:00
DrChat
30e0a258e4 [Vulkan] Buffers typically aren't aligned. 2018-02-15 17:05:54 -06:00