Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinterpret between 32 and 16 bit texture formats #15907

Merged
merged 36 commits into from
Aug 28, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
7cba231
Finish the depal refactoring.
hrydgard Aug 26, 2022
cd0a31a
Work in bytes in the framebuffer matching algorithm for block copies,…
hrydgard Aug 25, 2022
9a82a7d
Detect need for 16<->32-bit reinterprets
hrydgard Aug 25, 2022
eeb784b
Prepare for 16/32 reinterpret
hrydgard Aug 26, 2022
afb90f6
Refactor reinterpret to prepare for 16/32-bit
hrydgard Aug 26, 2022
3c5ec25
Initial implementation of 32/16-bit color reinterpret blits.
hrydgard Aug 26, 2022
1ccfd79
wip
hrydgard Aug 26, 2022
6aecbef
Unsuccessful swizzle implementation
hrydgard Aug 26, 2022
dfccdc6
More successful swizzle impl. Not perfect
hrydgard Aug 26, 2022
39690a9
Quick hack to widen the depal texture if 0x200000 swizzle is needed
hrydgard Aug 26, 2022
693fd08
Bugfix, better logging
hrydgard Aug 26, 2022
6781dd5
Fix Katamari
hrydgard Aug 26, 2022
8acae79
Minor D3D11 refactoring
hrydgard Aug 27, 2022
27ba743
Comment fix, cleanup
hrydgard Aug 27, 2022
59053e7
Fix bug in reinterpret float impl
hrydgard Aug 27, 2022
880ea48
Implement the stencil/alpha reverse trick for all backends
hrydgard Aug 27, 2022
769f3d1
Accept color textures as reinterpretable between 32 and 16-bit formats
hrydgard Aug 27, 2022
cb84977
Framebuffer texture matching: Remove heuristics other than seqCount
hrydgard Aug 27, 2022
7be3063
When cloning framebuffers for reinterpret, adjust width according to bpp
hrydgard Aug 27, 2022
628bac0
Log improvement
hrydgard Aug 27, 2022
85f2a0f
Remove some old logging that's not very interesting anymore
hrydgard Aug 27, 2022
c533ea4
Logging improvements
hrydgard Aug 27, 2022
92eaac0
Fix problem matching framebuffers for reinterpret
hrydgard Aug 27, 2022
28cfbdd
Enable reinterprets and create-buffer-on-copy for the Tantalus games
hrydgard Aug 27, 2022
8d1157e
GL bugfix, log cleanup
hrydgard Aug 27, 2022
869bd16
Fix UV offsets in 16->32 reinterpret. Better, but something is still …
hrydgard Aug 27, 2022
8bf1b2b
Reinterpret is the proper fix for God of War's shadows.
hrydgard Aug 27, 2022
a74d2ec
Comment fixes
hrydgard Aug 27, 2022
c80245a
OpenGL graphics fixes
hrydgard Aug 27, 2022
6cedf34
Block transfer bug fix
hrydgard Aug 27, 2022
322f29c
Comments and fixes
hrydgard Aug 27, 2022
df92f72
Unify the spongebob depth inverse check
hrydgard Aug 28, 2022
dae92b4
Safer spongebob depth inverse check, includes color check and depth func
hrydgard Aug 28, 2022
39f6621
Address additional feedback, thanks!
hrydgard Aug 28, 2022
98f2e2a
Remove irrelevant stencil state checks
hrydgard Aug 28, 2022
e63c14b
More spongebob check tweaks, assert fix
hrydgard Aug 28, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading