Henrik Rydgård
751afde7c9
Echochrome lines: Remove UV offsets, avoid reading the destination (much better codegen)
2022-06-11 11:22:29 +02:00
Henrik Rydgård
c82d8a04e0
Add centered line drawing for Echochrome.
2022-06-11 00:20:35 +02:00
Henrik Rydgård
493c17647a
Take the absolute value when measuring pixel size for line expansion.
...
Fixes issues in Echochrome. Though still doesn't look fantastic.
2022-06-11 00:03:40 +02:00
Unknown W. Brackets
feddff8299
GLES: Fix sw transform flip in skip buffer mode.
...
Was causing some things to be drawn in the wrong places and upside down.
2022-06-05 11:31:07 -07:00
Henrik Rydgård and GitHub
d91902512d
Merge pull request #15554 from unknownbrackets/shader-vfs
...
Postshader: Avoid treating directories as files
2022-05-26 18:28:34 +02:00
Unknown W. Brackets
868568a744
Postshader: Avoid treating directories as files.
2022-05-25 20:04:47 -07:00
Unknown W. Brackets
a60d27a4f3
GPU: Fix skip buffer effects rendering.
...
Broken by blue-to-alpha changes. Without calling SetRenderFramebuffer, we
were never reconsidering the initial SKIPDRAW_NON_DISPLAYED_FB flag and
all drawing was getting skipped.
2022-05-22 12:24:03 -07:00
Unknown W. Brackets
b60b1e84b2
softgpu: Correct stencil debugging.
...
Fixes crashes in GE debugger when viewing stencil.
2022-05-08 14:26:25 -07:00
Unknown W. Brackets
9367ce82ac
softgpu: Fix viewport flag clean/dirty.
...
Fixes Split/Second effects, see #15501 .
2022-05-08 14:24:21 -07:00
Henrik Rydgård
c955246499
Fix shader blending regression (Vulkan)
2022-05-03 00:38:58 +02:00
Henrik Rydgård
62808b89ef
Fix discrepancy in how the LMODE flag is calculated between VS and FS
2022-05-03 00:06:42 +02:00
Unknown W. Brackets
42d7226413
Vulkan: Correct size for tex mip level readback.
...
Used by the GE debugger to display the texture levels.
2022-05-01 15:23:57 -07:00
Henrik Rydgård and GitHub
1dead5f095
Merge pull request #15515 from hrydgard/remove-framebuffer-read-limit
...
Remove the rather problematic limit on framebuffer copies
2022-05-01 13:41:35 +02:00
Henrik Rydgård and GitHub
7c6c59976c
Merge pull request #15514 from hrydgard/vulkan-barrier-optimizations
...
Vulkan barrier optimizations
2022-05-01 13:39:01 +02:00
Henrik Rydgård
66ddbe9513
Remove the rather problematic limit on framebuffer copies
2022-05-01 12:49:19 +02:00
Henrik Rydgård
d30024cc88
Vulkan: Follow sampler best practices with auto max quality.
2022-05-01 10:20:11 +02:00
Henrik Rydgård
5868cf0f1c
Convert the blueToAlpha bool to a usageFlag. KEEP instead of CLEAR for depth during reinterpret.
2022-04-30 18:17:29 +02:00
Henrik Rydgård
f5e519ed4b
Oops, gotta update the cached framebuffer format in the other drawing paths too
2022-04-30 18:17:17 +02:00
Henrik Rydgård
6b2dec91b5
Finish BlueToAlpha functionality
2022-04-30 18:17:17 +02:00
Henrik Rydgård
0c66087cc7
BlueToAlpha hack to avoid clearing the envmap in split/second :(
2022-04-30 18:17:17 +02:00
Henrik Rydgård
462972f7ea
Add option to redirect blue to alpha if 565 mode is rendered and mask is 0x0FFFFF.
...
This is used by several games to render to the alpha channel of RGBA4444
images, which cannot normally be done directly on the PSP.
Can be used as a far more efficient replacement for
ReinterpretFramebuffers/ShaderColorBitmask
2022-04-30 18:17:16 +02:00
Henrik Rydgård
7be86264d0
Move framebufFormat to gstate_c, so we can override it
2022-04-30 18:16:09 +02:00
Henrik Rydgård
5a1ab67cf8
Dirty more state after reinterpret
2022-04-30 18:15:14 +02:00
Henrik Rydgård
6bc7a699fe
Minor cleanups in framebuffer manager
2022-04-30 18:14:53 +02:00
Unknown W. Brackets
8779421a3e
GLES: Reverse alphamask when comparing to CLUT.
...
The CLUT is already reversed.
2022-04-25 08:54:02 -07:00
Unknown W. Brackets and GitHub
ec05bce068
Merge pull request #15502 from hrydgard/gran-turismo-regression-fix
...
Simplify alphasum checking for DXT textures, and fix a regression
2022-04-24 17:23:59 -07:00
Henrik Rydgård
35e7affa3e
Simplify alphasum checking for DXT textures, and fix a regression
...
Got some weird blackness in the sky in Gran Turismo. This fixes that.
2022-04-25 00:54:47 +02:00
Henrik Rydgård
32df78a2cc
Make the existing ReinterpretFramebuffers/ShaderColorBitmask path work for Split/Second
...
It took writing and debugging #15500 for me to understand what the issue with the old path was..
Much simpler alternative to #15500 , or we could merge both but disable Split/Second
for this one. Needs some benchmarks I guess...
2022-04-25 00:11:09 +02:00
Henrik Rydgård
3d4c4aa5b5
Fix regression with CLUT16 textures. See #12188
2022-04-24 00:43:15 +02:00
Henrik Rydgård
ed7dfdc8ad
Fix mip level bug in Vulkan texture cache.
2022-04-23 22:51:11 +02:00
Henrik Rydgård
c52a5e9e25
Fix checks for the "fake mipmap" situation.
...
Fixes #15492
2022-04-22 22:59:20 +02:00
Unknown W. Brackets
34d0acac4e
Vulkan: Save textures using a memory copy.
2022-04-17 20:55:39 -07:00
Unknown W. Brackets
39d6dc1740
Vulkan: Allow saving const tex levels.
...
This might be used for fonts, for example. They could be replaced, so no
reason not to export.
2022-04-17 20:06:03 -07:00
Henrik Rydgård
dffc1a9196
Add the slow comment to one more place
2022-04-18 00:40:49 +02:00
Henrik Rydgård
b1af940d8e
Save textures on background tasks when texture dumping is enabled.
...
Should help #15478 , at least a bit.
2022-04-18 00:26:35 +02:00
Henrik Rydgård
3a09c85fb1
Fix hang when choosing "Skip" in first-time init. Warning fix, comment add.
...
Fixes #15011
2022-04-17 23:02:37 +02:00
Henrik Rydgård
a31608e557
Crashfix
2022-04-15 19:59:24 +02:00
Henrik Rydgård
900ff64cf1
Buildfix
2022-04-15 13:39:01 +02:00
Henrik Rydgård
3efce3ceca
Try a clang pragma to avoid overeager auto-vectorization
2022-04-15 13:26:54 +02:00
Henrik Rydgård
9e60b82c54
Buildfixing, correct NEON type usage
2022-04-15 13:19:03 +02:00
Henrik Rydgård
185b93058e
SIMD-optimize CheckMask16 / CopyAndSumMask16
2022-04-15 12:40:10 +02:00
Henrik Rydgård
c4dfbf4f1a
Delete a lot of specialized alpha checking code.
...
This was now only used to check alpha in CLUTs, and the generic functions will not actually be any slower.
2022-04-15 12:34:50 +02:00
Henrik Rydgård
a5ee1884c1
Address feedback
2022-04-15 01:08:14 +02:00
Henrik Rydgård
a3d650d3e9
One more NEON optimization
2022-04-15 01:03:55 +02:00
Henrik Rydgård
ffcfef6031
Quick NEON optimization of CheckMask32
2022-04-15 00:56:26 +02:00
Henrik Rydgård
8bc2d1a653
SSE optimize a common case for video
2022-04-15 00:56:26 +02:00
Henrik Rydgård
1dae81a98a
Yet another bugfix
2022-04-15 00:56:26 +02:00
Henrik Rydgård
3bf9ea8de6
Debug log (remove before merge)
2022-04-15 00:56:25 +02:00
Henrik Rydgård
a0ca968b1e
Bugfixes, handle the rest of the cases
2022-04-15 00:56:25 +02:00
Henrik Rydgård
42cd937de2
Simplification and some cleanup
2022-04-15 00:56:25 +02:00