Henrik Rydgård
|
87cc608df1
|
Add the necessary logic to use in-shader CLUT lookups for regular textures
|
2026-06-11 12:42:16 +02:00 |
|
Henrik Rydgård
|
4f925fa5f2
|
Minor code cleanup
|
2026-06-11 11:59:00 +02:00 |
|
Henrik Rydgård
|
0bf1d12053
|
Prepare for shader depal (CLUT palette lookup) for ordinary textures
|
2026-06-11 11:58:58 +02:00 |
|
Henrik Rydgård
|
d33425d01d
|
Split out the CLUT texture cache from "TextureShaderCache"
|
2026-06-11 10:57:30 +02:00 |
|
Henrik Rydgård
|
f034cb45bb
|
Unify UpdateCurrentClut between D3D11 and Vulkan (GLES is still different)
|
2026-06-11 10:40:21 +02:00 |
|
Henrik Rydgård
|
9c9e709bfa
|
Restore and plug back in some of the texture invalidation logic. Fixes GT, not much other impact.
|
2026-06-09 23:49:54 +02:00 |
|
Henrik Rydgård
|
5691440442
|
Clean out some more stuff we don't need anymore
|
2026-06-09 23:49:54 +02:00 |
|
Henrik Rydgård
|
1781f693b5
|
Implement the new SyncDomain concept for texture hashing, remove minihash
|
2026-06-09 23:49:54 +02:00 |
|
Henrik Rydgård
|
36bdde68f9
|
Delete the "Lazy texture cache" option
|
2026-06-09 23:49:54 +02:00 |
|
Henrik Rydgård
|
c300c8fa82
|
Shrink the TexCacheEntry struct a bit
|
2026-06-09 11:25:51 +02:00 |
|
Henrik Rydgård
|
a38c52601c
|
Turn TexCacheEntry::TexStatus into an enum class
|
2026-06-09 11:25:51 +02:00 |
|
Henrik Rydgård
|
7ced074154
|
Rearrange the texture status flags, rename Full alpha to Solid alpha for textures
|
2026-06-09 11:25:50 +02:00 |
|
Henrik Rydgård
|
ec6c7b08f5
|
Add a common TextureAlpha enum, replacing CheckAlphaResult and ReplacedTextureAlpha.
|
2026-06-09 11:25:50 +02:00 |
|
Henrik Rydgård
|
fdcf923c75
|
TexCache: Stop bitpacking the hash status into the status flags
|
2026-06-09 11:25:50 +02:00 |
|
Henrik Rydgård
|
54d5c1d5e3
|
Improve some initialization in CrossSIMD.h. Add comments about CLUT variants
|
2026-06-09 10:15:08 +02:00 |
|
Henrik Rydgård
|
e0a961ddc5
|
Just some basic code cleanup in TextureCacheCommon.
|
2026-06-08 22:51:00 +02:00 |
|
Henrik Rydgård
|
2534eb4480
|
Disable anisotropic filtering for all flat draws.
May improve performance slightly, and should fix the last instances of #19555
|
2026-06-08 15:28:58 +02:00 |
|
Henrik Rydgård
|
a317890c08
|
Remove the GPUDebugInterface class
Just a pointless extra layer in the class hiearchy, making it
unnecessarily hard to modify the interface.
Might as well hit GPUCommon directly.
|
2026-06-02 11:15:08 +02:00 |
|
Henrik Rydgård
|
f60e27a9b7
|
Just some refactoring of the GPUStatistics struct, and more use of StringWriter
|
2026-05-29 14:40:31 +02:00 |
|
Henrik Rydgård
|
6919d8a764
|
ImGeDebugger: In the textures window, properly write out the status flags.
|
2026-04-07 11:39:16 -06:00 |
|
Henrik Rydgård
|
475390a968
|
Add workaround for Tales of Phantasia X.
Fixes #21162
|
2026-01-29 23:16:51 +01:00 |
|
Henrik Rydgård
|
bdf08c84fd
|
Move the ImGui texture cache viewer out of core
|
2025-05-26 19:02:57 +02:00 |
|
Henrik Rydgård
|
0f18f054ab
|
Make the frame-time budget for uploading replacement textures take framerate into account
|
2025-04-22 20:19:43 +02:00 |
|
Henrik Rydgård
|
b097a54ee0
|
Don't assert when using the old Ge debugger in OpenGL
|
2025-01-05 09:28:34 +01:00 |
|
Henrik Rydgård
|
638607d29a
|
Refactor: Make GPUCommon own the framedump "recorder".
|
2024-12-15 12:07:44 +01:00 |
|
Henrik Rydgård
|
27122a9e64
|
Work on previews
|
2024-12-10 22:09:51 +01:00 |
|
Henrik Rydgård
|
0df2a40487
|
Remove the "GPUInterface" base class. Not really useful, GPUCommon is pretty much the same thing.
|
2024-12-02 11:12:14 +01:00 |
|
Henrik Rydgård
|
e4adc112ff
|
ImDebugger: Add a basic texture browser
|
2024-11-29 19:30:38 +01:00 |
|
Herman Semenov
|
b57dab2812
|
[GPU] Make static and const methods if possible
|
2024-04-05 17:04:31 +03:00 |
|
Henrik Rydgård
|
877324c978
|
Add comment about swizzling to the texture replacer hash
|
2023-12-07 11:01:51 +01:00 |
|
Henrik Rydgård
|
443a882041
|
Fix the size calculation when hashing small swizzled textures
|
2023-12-07 10:45:31 +01:00 |
|
Henrik Rydgård
|
5373b8c5b3
|
Fix double-free problem in "low-memory" texture fallback (Vulkan)
|
2023-12-04 19:47:20 +01:00 |
|
Henrik Rydgård
|
7e0e9a6d2b
|
Shrink TexCacheEntry by 4 bytes and clean up a naming issue
Was a little confused by the "/2". It's not really useful to cache this
value anyway.
|
2023-08-30 16:37:38 +02:00 |
|
Henrik Rydgård
|
321a112eff
|
Rename SimpleBuf -> AlignedVector, use regular aligned memory instead of pages.
|
2023-04-24 12:04:34 +02:00 |
|
Henrik Rydgård
|
9a228b1f23
|
Avoid calling FindReplacement unnecessarily.
|
2023-03-18 12:03:32 +01:00 |
|
Henrik Rydgård
|
97c9b9e4f7
|
Break out PollReplacement from TextureCacheCommon::FindReplacement
|
2023-03-18 12:01:24 +01:00 |
|
Henrik Rydgård
|
75bcb9b10c
|
Some renaming, flag updates
|
2023-03-18 11:46:22 +01:00 |
|
Henrik Rydgård
|
5f76fbe1ad
|
Implement padding-on-copy for compressed textures as well.
|
2023-03-17 14:00:14 +01:00 |
|
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
|
4bbc4c258a
|
Remove sketch of Basis container format support (we go with KTX2 instead as the container)
|
2023-03-14 14:09:47 +01:00 |
|
Henrik Rydgård
|
f2673c8f7b
|
Change BGRA to be a texture-specific flag. Fixes R/B swap in DDS textures in D3D11.
|
2023-03-12 10:19:12 +01:00 |
|
Henrik Rydgård
|
07fc551e4e
|
State fixes, disable logspam
|
2023-03-10 14:16:14 +01:00 |
|
Henrik Rydgård
|
06b83115a5
|
Replacer: Avoid tracking video textures
|
2023-03-10 12:20:55 +01:00 |
|
Henrik Rydgård
|
cb10862510
|
Move texture replacer to GPU/Common.
Add new files ReplacedTexture.cpp/h too.
|
2023-03-09 21:11:53 +01:00 |
|
Henrik Rydgård
|
226197f30f
|
Replace "none_" with nullptr.
|
2023-03-08 13:17:10 +01:00 |
|
Henrik Rydgård
|
c74f5b2189
|
Prepare for unifying more stuff
|
2023-02-25 16:01:32 +01:00 |
|
Henrik Rydgård
|
1b5148bb6c
|
Remove kinda-duplicate function.
|
2023-02-24 23:54:04 +01:00 |
|
Unknown W. Brackets
|
0f92afb0c1
|
Replacement: Check replaceValid before load.
|
2023-01-08 10:20:52 -08:00 |
|
Unknown W. Brackets
|
26aedbe2f5
|
Replacement: Always return w/h from GetMipSize().
|
2023-01-08 10:12:04 -08:00 |
|
Unknown W. Brackets
|
a7b7bf7826
|
Global: Set many read-only params as const.
This makes what they do and which args to use clearer, if nothing else.
|
2022-12-10 21:13:36 -08:00 |
|