Commit Graph

1009 Commits

Author SHA1 Message Date
Dr. Chat
996ea9e273 [GPU] Ditto for GetMipLinearSize 2018-05-13 13:59:48 -05:00
Dr. Chat
1953cea64e [GPU] Unconditionally multiply in src.depth in GetMipByteSize (always valid) 2018-05-13 13:58:34 -05:00
gibbed
0a971462d7 Fix formatting to make lint happy. 2018-05-13 09:02:40 -05:00
gibbed
1ffa4747db [Vulkan] Better debug object names. 2018-05-13 08:42:36 -05:00
gibbed
ab0f75307a [Vulkan] More information on uploaded textures in log. 2018-05-13 08:41:20 -05:00
gibbed
ef924a8423 [Vulkan] Cube textures, now with mipmaps. 2018-05-13 08:31:33 -05:00
gibbed
9b64e67e14 [Vulkan] Fix following mips for compressed textures. 2018-05-12 20:19:58 -05:00
gibbed
7a1167fd66 [Vulkan] Align ALL texture block sizes to tile dimensions. Probably breaks everything. 2018-05-12 19:40:54 -05:00
gibbed
1c8cec45f3 [Vulkan] Properly copy untiled texture data. 2018-05-12 19:39:35 -05:00
gibbed
c6ee689159 [Vulkan] Rework GetMipByteSize to properly handle linear textures. Probably breaks everything. 2018-05-12 02:30:58 -05:00
gibbed
9926bf1cf6 [Vulkan] Don't try to get mip 0's offset when there is only one mip. 2018-05-12 00:52:02 -05:00
Rick Gibbed
a510bc3c78 [Vulkan] Use BGRA swizzle for 1555. 2018-05-11 20:05:59 -05:00
Rick Gibbed
988877f428 [Vulkan] Use BC4 for DXT5A. 2018-05-11 15:58:27 -05:00
Dr. Chat
53f5a218c6 [Vulkan] Log GPU resolves 2018-05-08 20:59:32 -05:00
Dr. Chat
da62e0e044 [GPU] Rename TextureInfo::size_xx -> TextureInfo::size 2018-05-08 10:29:36 -05:00
Dr. Chat
212688249c [Vulkan] Update ConvertTextureCube to use mips 2018-05-07 19:03:49 -05:00
Dr. Chat
e44fb33b79 [Vulkan] Fix (non-mipmapped) linear 2D texture uploads 2018-05-07 19:00:25 -05:00
Dr. Chat
f3134e265a [Vulkan] Swap k_4_4_4_4 as well. 2018-05-07 17:42:51 -05:00
Dr. Chat
25c2048b1a [Vulkan] Texture swizzling for certain texture formats 2018-05-07 16:33:17 -05:00
Dr. Chat
77d1d7342e [GPU] Remove TextureInfo::has_packed_mips 2018-05-05 18:23:30 -05:00
Dr. Chat
30f8fe7bb0 [GPU] Use log2 when calculating mip offset 2018-05-05 10:45:39 -05:00
Dr. Chat
61e47167c0 [Vulkan] Replace vulkan-loader with volk 2018-05-04 16:49:46 -05:00
Dr. Chat
88729e2ac4 [GPU] Initial (and possibly incorrect) texture size calculation for 1D and 3D 2018-05-04 12:10:26 -05:00
Dr. Chat
040d8d1ade [GL4] Farewell, GL4 backend 2018-05-04 11:54:33 -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
8ecadd49d2 [GPU] Further fix mip address calculations with really skewed aspect ratios 2018-05-04 00:18:22 -05:00
Dr. Chat
911588e9dc [GPU] Fix mip size calculation for compressed textures 2018-05-03 18:34:23 -05:00
Dr. Chat
f45cd398ef [Vulkan] Handle MIPs with non-power-of-two dimensions 2018-05-03 17:54:09 -05:00
Dr. Chat
04748b4a0d [GPU] TextureInfo::GetMipLocation - calculate packed mip offset 2018-05-03 16:04:11 -05:00
Dr. Chat
5e4b696782 [SPIR-V] Reset writes_depth_ 2018-05-03 14:15:53 -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
Dr. Chat
c9d4cfe6d0 [GPU] MIPs > 16 pixels are stored in their own individual tiles 2018-05-03 12:01:50 -05:00
DrChat
1f157f35f4 [Vulkan] Initial support for mipmaps 2018-05-03 10:02:07 -05:00
DrChat
f7c7cc54ed [GPU] TextureInfo::GetMaxMipLevels 2018-04-30 11:01:46 -05:00
Dr. Chat
62bee78edd [SPIR-V] Declare DepthReplacing if we replace depth 2018-04-29 18:43:31 -05:00
Dr. Chat
87bfad1f74 [GPU] PM4_EVENT_WRITE_EXT destination is /not/ aligned (to 16 bytes) 2018-04-29 18:26:36 -05:00
DrChat
86f387ed42 [SPIR-V] Fix 1D texture fetches. Fixes #1124 2018-04-20 15:25: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
d914791afe [SPIR-V] Fix SetTextureLOD 2018-04-14 15:39:48 -05:00
DrChat
303539af22 [SPIR-V] Fix incorrect dst implementation (incorrect extraction indices) 2018-04-14 15:32:18 -05:00
DrChat
0f0d600a5b Fix Travis 2018-04-13 21:45:47 -05:00