Unknown W. Brackets
fb65c7b87b
Vulkan: Avoid checking texture alpha after scale.
...
Since we're decoding to mapped memory, we don't want to read from it if
possible, especially not a large amount of data like an upscaled texture.
2017-11-12 15:53:59 -08:00
Henrik Rydgård
3cc5d8f40a
More minor vulkan fixes and cleanups. Don't actually call "Resized" if the size stays the same.
2017-11-10 12:41:06 +01:00
Henrik Rydgård
6eb58b1252
Keep the draw context up to date in a bunch of places. More logging.
2017-11-09 16:28:22 +01:00
Unknown W. Brackets
fc32a7b24e
Vulkan: Show textures in GE debugger.
2017-11-06 00:29:01 -08:00
Henrik Rydgård
2b7d1c1ded
Vulkan: Fix bug in depal causing Sonic Rivals to be grayscale.
2017-11-05 10:37:22 +01:00
Henrik Rydgård
066ad46915
Minor depal state dirtying fix
2017-11-05 10:20:18 +01:00
Henrik Rydgård
96cd368878
Make VulkanTexture "immutable".
2017-11-01 08:49:48 +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
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
0a0494ef8e
It builds! With some shortcuts, of course.
2017-10-26 10:56:59 +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
3757070fe2
Extra safety when switching GPU backends, fix possible Vulkan shutdown issue. Should help #10005
2017-10-09 12:17:54 +02:00
Henrik Rydgård
2f85e6516e
Minor optimizations (use the new hashmap in a few more places)
2017-08-20 19:18:46 +02:00
Unknown W. Brackets
f66ffb9ffe
GPU: Fix negative mip levels with const workaround.
...
Might've crashed if it hit a negative level before.
2017-05-31 21:42:07 -07:00
Unknown W. Brackets
b6375638f5
GPU: Block mipmap autogen for matching size.
...
If the mips don't get smaller, we can't autogen - the bias in that case is
used to select a different texture. Fixes #9731 .
This also may improve a minor performance issue on PowerVR in some games.
2017-05-31 21:23:20 -07:00
Henrik Rydgård
44423f3ba2
Vulkan: Implement BlitFramebuffer
2017-05-30 09:38:09 +02:00
Henrik Rydgård
137b79c708
Fix more review comments.
2017-05-30 09:38:05 +02:00
Henrik Rydgård
c173da49d3
Fix a number of bugs and stuff affecting Vulkan on Mali
2017-05-30 09:36:17 +02:00
Henrik Rydgård
f49384ca73
Vulkan: Fix binding framebuffers as textures
2017-05-30 09:36:17 +02:00
Henrik Rydgard
32728553bd
Further steps towards Vulkan framebuffer support
2017-05-30 09:36:17 +02:00
Henrik Rydgård
1b05a54800
Remove the Mipmap setting. One step forward for #8171
2017-05-26 10:21:20 +02:00
Unknown W. Brackets
c4d1863ded
GPU: Consistently bias const mip levels.
...
Since SLOPE is just a more complicated CONST, we can treat them the same.
2017-05-12 20:30:47 -07:00
Henrik Rydgård
5a8e9c4f71
Port some accessors over from #9255 to be able to catch these changes and dirty state later.
2017-04-03 17:04:58 +02:00
Henrik Rydgard
97058b4db7
Apply the D3D11 loco roco fix identically to the other backends
...
To make centralization easier, and this should be a problem for the
other backends as well.
2017-04-01 21:17:58 +02:00
Unknown W. Brackets
7fb7a4877d
Texcache: Cleanup last bound tex invalidation.
...
When we're deleting, we're always about to bind a new tex.
2017-03-25 11:42:24 -07:00
Henrik Rydgard
b0bd7e3c6f
Minor changes for compatibility with VS2017
2017-03-12 17:33:00 +01:00
Henrik Rydgard
5d4700ae7e
Sprinkle calls to CHECK_GL_ERROR_IF_DEBUG all over the place, disabled by default.
2017-03-03 14:18:40 +01:00
Henrik Rydgard
8eb668ea59
D3D11: Enable pixel depth rounding. GL: Fix a crash bug
2017-02-23 20:40:53 +01:00
Henrik Rydgard
900539e200
Fix #9340 (touch controls not always getting repositioned correctly)
2017-02-23 09:31:45 +01:00
Henrik Rydgard
f24b1495ba
Assorted texture format cleanup, prep for supporting D3D11 on Win7
2017-02-22 16:23:04 +01:00
Henrik Rydgard
f772066c54
Remove some unnecessary error handling paths
2017-02-21 11:29:51 +01:00
Henrik Rydgard
ca9050af12
These should be deleted too.
2017-02-20 00:36:37 +01:00
Henrik Rydgard
4c897ff853
Forgot to delete CheckFullHash duplicates
2017-02-20 00:21:54 +01:00
Henrik Rydgard
4652c6af28
Some member variable renaming to match the convention
2017-02-20 00:19:58 +01:00
Henrik Rydgard
f753573332
Unify HandleTextureChange
2017-02-20 00:13:21 +01:00
Henrik Rydgard
f15e25c4b5
Centralize SetTexture
2017-02-20 00:05:23 +01:00
Henrik Rydgard
aae2030a14
Unify Decimate()
2017-02-19 23:39:35 +01:00
Henrik Rydgard
d9c20fbaff
Unify ApplyTexture
2017-02-19 23:25:09 +01:00
Henrik Rydgard
7890b61cc5
More work towards unifying ApplyTexture
2017-02-19 23:19:55 +01:00
Henrik Rydgard
f839f1944e
Work towards unifying ApplyTexture
2017-02-19 23:07:00 +01:00
Henrik Rydgard
665ffe34ab
Centralize DeleteTexture
2017-02-19 22:50:04 +01:00
Henrik Rydgard
dbafc6ef95
Centralize Texcache::Clear
2017-02-19 22:31:07 +01:00
Henrik Rydgard
4364569cf4
Move TexCacheEntry outside the TextureCacheCommon class. Nested structs are annoying.
2017-02-19 18:53:30 +01:00
xebra
e2f9dc8f28
Add support compat to fake mipmap hacks.
2017-02-15 01:02:51 +09:00
xebra
945e603072
Fix fake mipmap issue related #5350
2017-02-15 01:02:50 +09:00
Henrik Rydgard
ba95e0f4d9
Initial stab at porting the DX9 backend to D3D11. Not working yet.
2017-02-09 13:28:40 +01:00
Henrik Rydgard
9f00b355ca
Unify DownloadFramebufferForClut
2017-02-08 15:58:46 +01:00