Henrik Rydgård
1b0d5ec3aa
Remove a unused state from ReplacedTexture, rename POPULATED to UNLOADED
2023-03-17 00:52:38 +01:00
Henrik Rydgård
6a430f2a14
ReplacedTexture: Some initialization. For UASTC, seems we need to clear the transcoder state.
2023-03-17 00:02:01 +01:00
Henrik Rydgård
2f1441eceb
Merge pull request #17136 from hrydgard/zstd-include-fix
...
Zstd include fix
2023-03-16 18:19:28 +01:00
Henrik Rydgård
f154f4a29d
Warning fix
2023-03-16 15:06:38 +01:00
Henrik Rydgård
4e4209c630
Include zstd as a system header from basis_universal.
...
Fixes #17133
2023-03-16 14:59:18 +01:00
Henrik Rydgård
ae8c804328
Merge pull request #17134 from hrydgard/more-replacement-work
...
Refactor the replacement cache
2023-03-16 12:37:48 +01:00
Henrik Rydgård
2157610bf1
Merge pull request #17129 from unknownbrackets/ir-minor
...
irjit: Fix vi2us/vi2s with non-consecutive
2023-03-16 12:12:54 +01:00
Henrik Rydgård
e34a5a68de
Remove some locking
2023-03-16 12:04:14 +01:00
Henrik Rydgård
725d4195df
Small cleanup of purging code
2023-03-16 11:53:39 +01:00
Henrik Rydgård
35f46ec161
Rework the replacement cache. No more duplicate ReplacedTexture objects.
2023-03-16 11:46:05 +01:00
Henrik Rydgård
cf6cce0744
Remove scaleFactor from struct ReplacedTextureDecodeInfo, instead pass in both unscaled and scaled dimensions
2023-03-16 10:21:57 +01:00
Henrik Rydgård
f2a5a5abe7
Avoid input/output arguments in the texture scaler too
2023-03-16 10:14:41 +01:00
Henrik Rydgård
c58ceb5160
Mini refactor: Separate input and output arguments for LookupHashRange
2023-03-16 09:55:49 +01:00
Unknown W. Brackets
d97790e28e
irjit: Fix vi2us/vi2s with non-consecutive.
...
Vec2ClampToZero and similar assume consecutive.
2023-03-15 21:30:35 -07:00
Unknown W. Brackets
fa1a4d26dc
Windows: Fix crash dependent on alloc order.
...
Without IR, we don't allocate executable memory, so the first allocation
always fails.
2023-03-15 21:30:21 -07:00
Unknown W. Brackets
de4eb64298
Build: Fix MSVC 2019 again.
2023-03-15 21:28:46 -07:00
Henrik Rydgård
34926472aa
Log fix
2023-03-16 00:30:20 +01:00
Unknown W. Brackets
fcf895fe1c
Merge pull request #17128 from hrydgard/thread-manager-fix
...
ThreadManager priority bugfix
2023-03-15 15:11:29 -07:00
Henrik Rydgård
f0f96750b1
After picking a task from the global queue, gotta break from the loop.
2023-03-15 22:31:24 +01:00
Henrik Rydgård
1cf4e83824
Show thread name in assert messagebox caption on Windows. Minor cleanup
2023-03-15 22:26:58 +01:00
Henrik Rydgård
c45376ddc7
Typo fix, thanks iota97
2023-03-15 20:31:27 +01:00
Henrik Rydgård
69daf47155
Merge pull request #17126 from hrydgard/thread-manager-rename
...
Thread manager: rename ThreadContext to TaskThreadContext
2023-03-15 15:22:07 +01:00
Henrik Rydgård
0fb7ff488e
Add a convenient define to experiment with parallel copy
2023-03-15 14:48:32 +01:00
Henrik Rydgård
e625727543
Fix debug symbols for ThreadContext by renaming it (was clashing with something else)
...
Also reorder the fields.
2023-03-15 12:06:32 +01:00
Henrik Rydgård
bcd6f4a880
Merge pull request #17122 from hrydgard/vulkan-push-pool
...
VulkanPushPool - more efficient replacement for 3x VulkanPushBuffer
2023-03-15 10:43:04 +01:00
Henrik Rydgård
87a16b0386
Fix the stats
2023-03-15 10:19:00 +01:00
Henrik Rydgård
089b63c22f
Address feedback, except the stats.
2023-03-15 10:09:39 +01:00
Henrik Rydgård
2ac74e3d37
Remove the PushBufferType enum
2023-03-15 09:59:00 +01:00
Henrik Rydgård
181ddf8266
Change the API of the old VulkanPushBuffer to match VulkanPushPool.
2023-03-15 09:56:32 +01:00
Henrik Rydgård
6d3a25e81f
Tweak some sizes.
2023-03-15 01:25:03 +01:00
Henrik Rydgård
f3bdf324f9
Garbage collect old buffers in push pool.
2023-03-15 01:25:03 +01:00
Henrik Rydgård
c8b25e50b0
Better debug vis for push pools
2023-03-15 01:25:03 +01:00
Henrik Rydgård
9fcd6d6612
Use thin3d's push pool in the draw engine too.
2023-03-15 01:25:03 +01:00
Henrik Rydgård
23fe57e774
Use VulkanPushPool for thin3d
2023-03-15 01:25:03 +01:00
Henrik Rydgård
700b1cd6a7
More conversion to pushPool
2023-03-15 01:25:03 +01:00
Henrik Rydgård
3d372400e1
Start converting over to it
2023-03-15 01:25:03 +01:00
Henrik Rydgård
56d792f422
Sketch the new VulkanPushPool
2023-03-15 01:25:00 +01:00
Henrik Rydgård
c31b4be690
Crashfix in ReplacedTexture. Thought I fixed this one before, hm.
2023-03-15 01:23:32 +01:00
Henrik Rydgård
b4b6cbe292
Merge pull request #17121 from hrydgard/remove-unused-pushbuffer
...
Remove an unused VulkanPushBuffer.
2023-03-14 23:57:29 +01:00
Henrik Rydgård
effbe6376a
Remove an unused VulkanPushBuffer.
...
Saves about 0.75MB of VRAM, but mainly just to clean things up.
I think I meant to use this one instead of grabbing the one from
DrawEngine in the TextureCache.
2023-03-14 23:39:47 +01:00
Henrik Rydgård
38517a4609
Merge pull request #17120 from hrydgard/fix-zip-texture-pack
...
More texture replacement fixes
2023-03-14 20:18:12 +01:00
Henrik Rydgård
13e63c109f
If the target compression format is not supported, just transcode to RGBA8888.
2023-03-14 18:52:42 +01:00
Henrik Rydgård
b45f1db005
Correct some error reporting
2023-03-14 18:34:22 +01:00
Henrik Rydgård
d8c3269cc6
Fix zipped texture packs (it didn't load the ini from the zip, the rest worked).
...
Plus a few other things.
2023-03-14 17:53:01 +01:00
Henrik Rydgård
42aa5f0c32
Merge pull request #17118 from hrydgard/gl-format-build-fix
...
OpenGL: Try a different way to exclude desktop tex compression formats in build
2023-03-14 17:04:35 +01:00
Henrik Rydgård
4de789b0bf
Merge pull request #17117 from Narugakuruga/patch-20
...
Update zh_CN.ini
2023-03-14 16:10:31 +01:00
Henrik Rydgård
c6e0027604
OpenGL: Try a different way to exclude desktop compression formats in build
...
May fix #17110
2023-03-14 16:09:40 +01:00
Narugakuruga
6c8da44779
Update zh_CN.ini
2023-03-14 23:07:53 +08:00
Henrik Rydgård
21a0a91818
Remove a misplaced ForgetLastTexture.
...
Fixes #17115
2023-03-14 15:49:35 +01:00
Henrik Rydgård
62f104832a
Merge pull request #17116 from TotalCaesar659/revert-scoped-storage-translation
...
Revert "Scoped Storage" translatability
2023-03-14 15:48:53 +01:00