gibbed
79f8fe9f37
[GPU] Fixes to problems caused by previous commit (bad handling of memory addressing, watches, etc).
2018-05-31 21:50:22 -05:00
gibbed
e89a31006f
- [GPU] Rename TextureMemoryUsage to TextureExtent (and relevant functions/etc).
...
- [GPU] Precalculate memory byte usage for base mip (and any additional mip levels).
- [GPU] Change TextureCache::WatchCallback so that if it's fired multiple times for the same texture it does not assert.
- [GPU] Add write watches for texture memory associated with additional mipmap levels.
2018-05-31 19:41:33 -05:00
gibbed
d0df71b8b6
[Vulkan] Move texture config to its own files.
2018-05-31 10:35:58 -05:00
gibbed
1573b7570d
[Vulkan] Apply distinct component and vector swizzles.
2018-05-31 10:29:08 -05:00
gibbed
2314f25fb7
[Vulkan] Force red channel into all channels for DXT5A. Probably wrong solution but will work for now.
2018-05-31 09:47:41 -05:00
gibbed
958aa04cc5
[Vulkan] Fix swizzle for DXT5A.
2018-05-31 07:31:33 -05:00
gibbed
ec3ab0adbd
[GPU] Stub out context update GPU opcode.
...
[Vulkan] Gracefully handle vertex upload failures.
2018-05-30 20:49:30 -05:00
gibbed
bbebfd49c8
[Vulkan] Add logging to certain error conditions.
...
[Vulkan] Track both texture block height and texture block vertical pitch.
[Vulkan] Only convert the necessary visible height on texture uploads.
[Vulkan] Fix write watch on texture data so it properly only covers mip 0 data.
2018-05-30 19:38:36 -05:00
gibbed
7068d0a5a9
[Vulkan] More details in texture upload logging.
2018-05-30 18:19:37 -05:00
gibbed
6b2f75219c
[Vulkan] Include format/dimension in render texture debug name.
2018-05-30 18:19:06 -05:00
gibbed
2d68ec162d
[Vulkan] Remove unnecessary swizzles.
2018-05-30 18:16:11 -05:00
gibbed
6e000039e8
[Vulkan] Maybe fix the rectangle list shader, part two! Probably still breaks everything.
2018-05-30 09:56:44 -05:00
gibbed
8882d7eebd
[Vulkan] Maybe fix the rectangle list shader. Probably breaks everything.
2018-05-30 08:04:16 -05:00
gibbed
fed60962d6
[Vulkan] Regenerate shaders, and explicitly require the extensions they depend on.
2018-05-30 08:04:16 -05:00
gibbed
2bd9bae0f4
[Vulkan] Better swizzle for DXT3A/DXT5A?
2018-05-28 17:25:32 -05:00
gibbed
425764698e
[Vulkan] Improvements to texture upload code, fix mipmap uploads, remove no_mipmaps flag.
2018-05-28 07:06:33 -05:00
gibbed
b623c33e00
[Vulkan] Add no_mipmaps flag.
2018-05-27 20:36:45 -05:00
gibbed
9231317eeb
[Vulkan] Generalize texture conversion, and fix cube textures in the process.
2018-05-26 11:19:52 -05:00
gibbed
7116b5fc82
[Vulkan] Reimplemented texture conversions. Here be dragons! Probably breaks everything. Also bonus DXT3A support.
2018-05-26 06:57:16 -05:00
gibbed
4613c6b8b8
[Vulkan] Better macro for channel swizzling.
2018-05-23 20:37:32 -05:00
gibbed
e9290cd2e0
[Vulkan] Rework component swizzles into channel swizzles. Probably breaks everything.
2018-05-23 20:19:53 -05:00
gibbed
cb4b1bae1b
[Vulkan] Forgot to undef the new RRRR swizzle macro.
2018-05-22 11:07:27 -05:00
gibbed
9bc17cd1d4
[Vulkan] Maybe fix DXT5A?
2018-05-22 10:52:52 -05:00
gibbed
ee5724f5dd
[GPU] Move gamma ramp tracking to CommandProcessor.
2018-05-22 05:36:24 -05:00
gibbed
fb650ae024
[Vulkan] Start tracking the gamma ramp.
2018-05-21 23:16:15 -05:00
Dr. Chat
cb608b7f98
[Vulkan] GetBaseRTFormat
2018-05-19 17:02:17 -05:00
Dr. Chat
1e1ba34d76
[Vulkan] Unbreak the 2_10_10_10 RT formats a bit further
2018-05-19 16:55:42 -05:00
gibbed
981590bc98
[Vulkan] Don't break k_2_10_10_10.
2018-05-19 16:37:05 -05:00
gibbed
5fafdb2e7a
[Vulkan] Force k_2_10_10_10* to k_16_16_16_16_FLOAT. Probably breaks everything.
2018-05-19 15:58:26 -05:00
gibbed
b33ccdf0cd
[Vulkan] Better debug names.
2018-05-19 15:49:37 -05:00
gibbed
8064926999
[Vulkan] Implement support for color_exp_bias.
2018-05-19 15:45:13 -05:00
gibbed
9655b76f68
[Vulkan] Simplify color/depth info access in IssueCopy.
2018-05-19 14:48:00 -05:00
gibbed
16e33cf123
[Vulkan] Fix a PrepareResolve call the last commit forgot.
2018-05-18 18:37:59 -05:00
Dr. Chat
191dc30bee
[GPU] Use the pitch field in tfetch constants
2018-05-18 13:48:28 -05:00
DrChat
f591f2dace
[Vulkan] Workaround for rapid fence reuse causing a memory leak
2018-05-18 09:59:26 -05:00
gibbed
6807ef3653
[Vulkan] Fix hashing of vertex bindings.
2018-05-14 11:42:22 -05:00
gibbed
2238ff9ff0
[Vulkan] Use BGRA swizzle for 565.
2018-05-13 16:51:20 -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
1c8cec45f3
[Vulkan] Properly copy untiled texture data.
2018-05-12 19:39:35 -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