Henrik Rydgård
|
5247ffa0af
|
Merge pull request #15910 from unknownbrackets/riscv-emitter
Add LI and compressed instructions for RISC-V
|
2022-08-28 15:57:03 +02:00 |
|
Henrik Rydgård
|
c75b0235e1
|
Update the Spongebob workaround check to work with MX vs ATV: Reflex. See #15907
Not ideal to not check the verts :(
|
2022-08-28 15:09:58 +02:00 |
|
Unknown W. Brackets
|
216fcb228c
|
riscv: Add a simple unit test.
Since I haven't tried running these yet, at least best to validate...
|
2022-08-28 06:03:31 -07:00 |
|
Henrik Rydgård
|
1653dcdc1a
|
Merge pull request #15907 from hrydgard/reinterpret-between-32-and-16
Reinterpret between 32 and 16 bit texture formats
|
2022-08-28 09:49:18 +02:00 |
|
Henrik Rydgård
|
e63c14b45a
|
More spongebob check tweaks, assert fix
|
2022-08-28 09:13:43 +02:00 |
|
Henrik Rydgård
|
98f2e2a370
|
Remove irrelevant stencil state checks
|
2022-08-28 07:35:26 +02:00 |
|
Henrik Rydgård
|
39f6621442
|
Address additional feedback, thanks!
|
2022-08-28 07:31:50 +02:00 |
|
Henrik Rydgård
|
dae92b41fb
|
Safer spongebob depth inverse check, includes color check and depth func
|
2022-08-28 07:25:08 +02:00 |
|
Henrik Rydgård
|
df92f72ac3
|
Unify the spongebob depth inverse check
|
2022-08-28 07:11:00 +02:00 |
|
Unknown W. Brackets
|
08d82ec15b
|
riscv: Emit compressed instructions.
Includes automatically using compressed, optionally.
|
2022-08-27 15:44:19 -07:00 |
|
Unknown W. Brackets
|
946080206d
|
riscv: Improve sign reduce/immediate readability.
|
2022-08-27 15:44:18 -07:00 |
|
Unknown W. Brackets
|
c807d459f6
|
riscv: Emit ADD/SUB/etc. for ADDW/SUBW/etc. on R32.
No need to complicate code, we can just write ADDW() and expect it to work
on R32 (if ever motivated to support it.)
|
2022-08-27 15:44:18 -07:00 |
|
Unknown W. Brackets
|
c81d887a86
|
riscv: Include an LI helper in the emitter.
Can be used for integers and floats.
|
2022-08-27 15:44:18 -07:00 |
|
Henrik Rydgård
|
322f29ce80
|
Comments and fixes
|
2022-08-27 23:37:02 +02:00 |
|
Henrik Rydgård
|
6cedf34e9c
|
Block transfer bug fix
|
2022-08-27 23:20:26 +02:00 |
|
Henrik Rydgård
|
c80245af91
|
OpenGL graphics fixes
|
2022-08-27 19:37:28 +02:00 |
|
Henrik Rydgård
|
a74d2ec185
|
Comment fixes
|
2022-08-27 19:24:25 +02:00 |
|
Henrik Rydgård
|
8bf1b2be53
|
Reinterpret is the proper fix for God of War's shadows.
|
2022-08-27 19:23:17 +02:00 |
|
Henrik Rydgård
|
869bd1643f
|
Fix UV offsets in 16->32 reinterpret. Better, but something is still not quite right.
|
2022-08-27 16:32:07 +02:00 |
|
Henrik Rydgård
|
8d1157e107
|
GL bugfix, log cleanup
|
2022-08-27 14:40:42 +02:00 |
|
Henrik Rydgård
|
28cfbdd2d7
|
Enable reinterprets and create-buffer-on-copy for the Tantalus games
|
2022-08-27 14:05:49 +02:00 |
|
Henrik Rydgård
|
92eaac0210
|
Fix problem matching framebuffers for reinterpret
|
2022-08-27 13:57:54 +02:00 |
|
Henrik Rydgård
|
c533ea4d93
|
Logging improvements
|
2022-08-27 13:57:36 +02:00 |
|
Henrik Rydgård
|
85f2a0f052
|
Remove some old logging that's not very interesting anymore
|
2022-08-27 13:57:08 +02:00 |
|
Henrik Rydgård
|
628bac056d
|
Log improvement
|
2022-08-27 11:31:17 +02:00 |
|
Henrik Rydgård
|
7be3063c96
|
When cloning framebuffers for reinterpret, adjust width according to bpp
|
2022-08-27 11:12:35 +02:00 |
|
Henrik Rydgård
|
cb8497731d
|
Framebuffer texture matching: Remove heuristics other than seqCount
|
2022-08-27 11:01:54 +02:00 |
|
Henrik Rydgård
|
769f3d1466
|
Accept color textures as reinterpretable between 32 and 16-bit formats
|
2022-08-27 10:59:37 +02:00 |
|
Henrik Rydgård
|
880ea48e2d
|
Implement the stencil/alpha reverse trick for all backends
|
2022-08-27 10:25:18 +02:00 |
|
Henrik Rydgård
|
59053e7815
|
Fix bug in reinterpret float impl
|
2022-08-27 10:25:18 +02:00 |
|
Henrik Rydgård
|
27ba7438eb
|
Comment fix, cleanup
|
2022-08-27 10:05:47 +02:00 |
|
Henrik Rydgård
|
8acae79013
|
Minor D3D11 refactoring
|
2022-08-27 10:05:18 +02:00 |
|
Henrik Rydgård
|
6781dd5fe8
|
Fix Katamari
|
2022-08-26 23:47:22 +02:00 |
|
Henrik Rydgård
|
693fd0870f
|
Bugfix, better logging
|
2022-08-26 23:26:44 +02:00 |
|
Henrik Rydgård
|
9f4a849453
|
Merge pull request #15908 from hrydgard/finish-depal-refactor
Finish the depal refactoring.
|
2022-08-26 19:03:39 +02:00 |
|
Henrik Rydgård
|
39690a95be
|
Quick hack to widen the depal texture if 0x200000 swizzle is needed
|
2022-08-26 17:09:22 +02:00 |
|
Henrik Rydgård
|
dfccdc6367
|
More successful swizzle impl. Not perfect
|
2022-08-26 16:16:11 +02:00 |
|
Henrik Rydgård
|
6aecbef11f
|
Unsuccessful swizzle implementation
|
2022-08-26 16:06:45 +02:00 |
|
Henrik Rydgård
|
1ccfd7986a
|
wip
|
2022-08-26 15:51:25 +02:00 |
|
Henrik Rydgård
|
3c5ec25f61
|
Initial implementation of 32/16-bit color reinterpret blits.
|
2022-08-26 15:51:25 +02:00 |
|
Henrik Rydgård
|
afb90f6b04
|
Refactor reinterpret to prepare for 16/32-bit
|
2022-08-26 15:51:25 +02:00 |
|
Henrik Rydgård
|
eeb784b417
|
Prepare for 16/32 reinterpret
|
2022-08-26 15:51:25 +02:00 |
|
Henrik Rydgård
|
9a82a7d659
|
Detect need for 16<->32-bit reinterprets
|
2022-08-26 15:51:25 +02:00 |
|
Henrik Rydgård
|
cd0a31a3cd
|
Work in bytes in the framebuffer matching algorithm for block copies, avoid margins
|
2022-08-26 15:51:25 +02:00 |
|
Henrik Rydgård
|
7cba231e58
|
Finish the depal refactoring.
Needed for an upcoming change (since this lets us use the Draw2D
uniform mechanism in depal shaders).
|
2022-08-26 15:47:29 +02:00 |
|
Henrik Rydgård
|
4390a05fe0
|
Fix shader compilation error in depth->565
|
2022-08-26 15:13:32 +02:00 |
|
Henrik Rydgård
|
31bd16a042
|
Merge pull request #15905 from unknownbrackets/riscv-emitter
Add a RISC-V emitter
|
2022-08-26 09:41:20 +02:00 |
|
Unknown W. Brackets
|
4a93647acb
|
riscv: Emit CSR manipulation instructions.
|
2022-08-25 21:20:49 -07:00 |
|
Unknown W. Brackets
|
b5755b6cf7
|
riscv: Validate FixupBranch usage better.
Also avoid FixupBranch alignment issues.
|
2022-08-25 21:20:49 -07:00 |
|
Unknown W. Brackets
|
591de6be1d
|
riscv: Emit float instructions.
|
2022-08-25 21:19:28 -07:00 |
|