Commit Graph

63 Commits

Author SHA1 Message Date
DrChat
cbfaffd9f3 [Vulkan] Correct a bunch of incorrect pipeline barrier stages 2017-12-21 13:11:34 -06:00
DrChat
d3b03b9a93 [Vulkan] Update VMA 2017-12-19 18:19:03 -06:00
DrChat
09b3a07e3c Support rendering windowless (tested on the Vulkan backend) 2017-12-19 16:05:36 -06:00
DrChat
d98344f99b [Vulkan] Log down strings when an invalid usage flag is specified. 2017-12-18 15:47:52 -06:00
DrChat
b5d647d540 [Vulkan] Better handling of device lost events (present fatal error dialog) 2017-12-18 14:27:00 -06:00
DrChat
5da59a95c9 Merge branch 'linux' 2017-12-16 17:15:49 -06:00
DrChat
49287579ff [Vulkan] Robustify error handling during initialization 2017-12-16 15:14:48 -06:00
DrChat
aaf281351d Format all code with new clang-format 2017-12-14 20:44:43 -06:00
DrChat
e674c9df26 Vulkan: Emit a warning when attempting to use a texture in an unsupported way 2017-09-07 14:37:05 -05:00
DrChat
f9d08888c7 Vulkan: ClearCache for texture cache, properly free all textures and allocator on exit. 2017-09-07 14:22:04 -05:00
DrChat
4e4a1a03c1 Vulkan: Add a memory allocator and hook it up to the texture cache. 2017-08-20 20:48:36 -05:00
DrChat
7e819a4ccb Vulkan: Refactor CTX1 conversion 2017-08-20 18:37:02 -05:00
DrChat
96ba5d5563 Vulkan: Set the depth/stencil attachment flag bit for depth/stencil textures. 2017-08-19 18:34:32 -05:00
Dr. Chat
2f200f4a75 Vulkan: Reformat the texture config table to look nicer 2017-08-14 00:32:40 -05:00
Dr. Chat
657d571c0d Vulkan: Update a couple of comments on texture formats 2017-08-13 21:32:57 -05:00
DrChat
3d0cbe50b9 Vulkan: Use GetBaseFormat in TextureFormatIsSimilar 2017-08-13 19:08:38 -05:00
Dr. Chat
22575af212 Fix AMD crashes from last commit 2017-08-10 23:24:32 -05:00
DrChat
4809f3eb51 Vulkan: Create a util WritebackTexture function (unused atm) 2017-08-10 15:01:12 -05:00
DrChat
09c29bbdc5 Vulkan: Search by a texture's base format when fetching. 2017-08-09 22:27:41 -05:00
DrChat
63576aec35 Vulkan: Add debug code to flag empty texture uploads in the log 2017-08-09 22:26:56 -05:00
gibbed
f8edc761fc Vulkan: Do near-exact lookups for the frontbuffer texture (may break everything). 2017-08-09 02:28:47 -05:00
gibbed
4c77616ef9 Vulkan: Suppress some warnings from validation layer. 2017-08-09 01:15:33 -05:00
DrChat
8b5eb1cd38 Vulkan: Remove redundant format argument from DemandResolveTexture 2017-08-09 00:10:52 -05:00
gibbed
b14dc3351c GPU: Make 1D textures into 2D ones. 2017-08-08 17:58:11 -05:00
gibbed
90b8f983d0 - Vulkan: DXT1_AS_16_16_16_16 should probably map to VK_FORMAT_BC1_RGBA_UNORM_BLOCK.
- Vulkan: Added comments regarding CTX1 format.
2017-08-08 16:47:16 -05:00
gibbed
d2d8d65629 GPU: First pass of CTX1 to R8G8_UINT conversion implementation for Vulkan. 2017-08-08 00:26:40 -05:00
DrChat
35e4431c33 Vulkan: Get rid of the empty descriptor set 2017-08-07 21:46:35 -05:00
gibbed
febe46973f GPU: Don't use host write bit for texture uploads. 2017-08-07 19:47:17 -05:00
gibbed
b4ae5b9a01 - GPU: Removal of deprecated TextureInfo fields.
- GPU: Replicated removed deprecated fields into local struct for GL.
- GPU: Improved texture copies for Vulkan, no more pitch changes.
- GPU: Stubbed code for CTX1 conversion in Vulkan.
2017-08-07 19:30:06 -05:00
DrChat
eb022939d1 Vulkan: Initialize a texture's framebuffer to nullptr 2017-08-06 12:47:34 -05:00
AllanCat
7ad6fc92f6 Fixed white edge on some textures(text display). 2017-07-19 23:18:49 +08:00
AllanCat
c47d12875c Fixed Vulkan's dark color issue. 2017-07-19 15:06:29 +08:00
Dr. Chat
4e6a51472d Vulkan: Fix cube image initialization 2017-05-17 05:39:16 -05:00
Dr. Chat
84758a3a3f Vulkan CP: Use the color blitter 2017-05-13 10:15:56 -05:00
Dr. Chat
b40d75aa3d TextureInfo: Store the texture format, not a pointer to texture format info. 2017-04-07 15:16:09 -05:00
Dr. Chat
b34350e9e7 TextureCache: Remove distinction between resolve textures and regular textures. 2017-03-14 23:18:53 -05:00
gibbed
8dbf3d240b Make the previous commit slightly more performant. 2017-03-12 01:15:43 -06:00
gibbed
69b92c6c31 Maybe fix texture uploads where mipmaps are packed in linear textures. 2017-03-12 01:12:02 -06:00
DrChat
c62c4fe741 Vulkan: Properly invalidate resolve textures
Trace Writer memory caching
2017-02-17 18:59:08 -06:00
DrChat
4a99b88650 Vulkan: Fill unused descriptor array elements with a dummy image (required by API) 2017-02-13 14:46:24 -06:00
Dr. Chat
75b34b83a6 Vulkan: Alias all input textures on the same binding 2017-02-13 13:35:53 -06:00
DrChat
7a9c33fcfe Vulkan: Emit a warning if the physical device is unable to support texture cache requirements 2017-02-12 21:24:38 -06:00
Dr. Chat
366eeeaa60 Vulkan TextureCache: Use a hashed and fenced pool for descriptors 2017-01-28 14:05:42 -06:00
Dr. Chat
9135b6d9ac Vulkan: Support accessing only depth buffer via shaders 2017-01-28 14:05:42 -06:00
gibbed
a95de67b8c 1D textures. Maybe. 2017-01-10 00:04:41 -06:00
Dr. Chat
48f6ba747c Track batch fences with the batches. 2016-11-08 18:11:12 -06:00
Dr. Chat
99090e0a22 CircularBuffer: Allow users to bind their own memory to our buffer. 2016-08-01 16:30:28 -05:00
Dr. Chat
ff57d79793 TextureCache: Flush uploads if the staging buffer overflows in a frame. 2016-08-01 13:25:44 -05:00
Dr. Chat
ab4245c6af VGT_INDX_OFFSET actually means index/vertex offset
Fixup depth resolves
2016-06-24 14:35:24 -05:00
Dr. Chat
6729ec182b These clears are redundant. 2016-06-19 21:32:31 -05:00