TJnotJT
383403fb01
GS:VK: Don't enable second output color in PS when using ROV.
2026-11-29 03:24:18 +01:00
TJnotJT
8daa367ef0
GS:VK: Add DS as RT support.
2026-11-13 14:56:58 +01:00
SternXD
ac0d905587
GS/FullscreenUI: Blur the game background behind menus
...
Signed-off-by: SternXD <stern@sidestore.io >
2026-10-23 12:46:22 +02:00
lightningterror
a77a079031
GS/Shaders: Fix up a few more types mismatch.
...
Mesa 20 was complaining.
2026-10-13 20:00:50 +02:00
TJnotJT
9861b15419
GS:HW: Denormalize RT color when shuffling while blending.
2026-09-26 23:36:42 +02:00
lightningterror
45ba57032d
GS/Shaders: Fix up types mismatch.
...
Causes issues on gl, change dx/vk for consistency.
2026-09-26 20:45:34 +02:00
lightningterror
9c1bea4ab6
GS: Switch CAS from compute shader type to pixel shader type.
...
Depending on the gpu/driver in some situations it can be a little faster or a little slower. Usually faster on igpus and slower on dgpus, but we want to prioritize igpus since they are on the lower end.
GL: Support has been extended to older hardware GL version 3.3.
Drop requirement of GL_ARB_gpu_shader5, emulate bitfieldExtract and bitfieldInsert in the cas shader instead.
Make GL_ARB_shading_language_packing as a fallback when gl core 4.2 is not available.
DX11: Enable on feature level 10.
DX12/VK co author port by TJnotJT.
Metal co author port by TellowKrinkle.
2026-09-26 15:25:56 +02:00
lightningterror
c22f627f0a
GS/Shaders: Fix aa1 on haswell dx11/12.
...
Intel Haswell seems to be having issues on dx11/12 with running the bfi instruction in this specific case, so let's use an alternative that gives the same result, note this is only broken on Haswell, Ivy Bridge and Skylake are fine, the issue appears when running the D3D compiler with optimizations, running with D3DCOMPILE_SKIP_OPTIMIZATION is fine with bfi.
2026-09-18 12:25:32 +02:00
TJnotJT
77cfac7dbe
GS:HW: Do ROV channel masking with FBMask.
2026-09-04 11:39:30 +02:00
TJnotJT
bd9b6daaad
GS:HW: Reduce primid max value.
...
Large values may cause errors in primid DATE on Mesa OpenGL.
2026-09-04 01:37:00 +02:00
TJnotJT
9120e6fb6a
GS:HW: Allow dumping PrimID texture with RT dumping.
2026-09-04 01:37:00 +02:00
refractionpcsx2
3d9fea596d
GS/HW: Update depth conversion shader to floor value
2026-09-03 17:25:12 +02:00
lightningterror
fe55f87289
GS/VK: Remove undefined unused shader macro.
2026-07-31 17:29:28 +02:00
TJnotJT
eb5e3fcd13
GS/HW: Make all vertices the same color in certain flat shading cases.
...
Fixes issues with AA1 with flat shading.
2026-07-10 10:16:51 +02:00
TJnotJT
017b4d07da
GS/HW: Improve ROV discard behavior.
...
Try to avoid color/depth write when it's discarded.
2026-07-02 19:46:47 +02:00
TheLastRar
9650c4b79a
GS/HW: Tweak AF shader
2026-06-28 21:46:04 +02:00
TJnotJT
e2a3670d65
GS/HW: Adjust line AA1 blur with upscaling.
2026-06-20 22:09:33 +02:00
TJnotJT
bbcd5ec25e
GS/HW: ROV support.
2026-06-03 03:26:24 +02:00
TJnotJT and TellowKrinkle
a44fe80caa
GS/HW: Refactor shader copy and texture formats.
...
Make it easier to add new depth formats, and code cleanup.
Co-authored-by: TellowKrinkle
2026-05-31 18:43:01 +02:00
TJnotJT
a19b3747ea
GS/HW: Add AA1 triangle corner caps and edge extrapolation.
2026-05-20 01:02:00 +02:00
lightningterror
30440099c2
GS/GLSL: Make sure color output is disabled for depth only writes or testing and fix afail typo.
2026-05-19 13:03:35 +02:00
TJnotJT
4ef84fa51c
GS/HW: Fix flat shaded color in AA1 shader.
2026-05-12 14:46:49 +02:00
TheLastRar
26563dbae2
GS/HW: Clamp large UVs in shader anisotropic filtering
2026-05-06 11:59:32 +02:00
TheLastRar
6891511a1d
GS/HW: Reject malformed UVs in shader anisotropic filtering
2026-04-29 00:14:51 +02:00
TheLastRar and TellowKrinkle
ce2a859ad1
GS/HW: Use shader anisotropic filtering
...
Metal port by @TellowKrinkle
Co-Authored-By: TellowKrinkle <tellowkrinkle@gmail.com >
2026-04-23 18:19:57 +02:00
TJnotJT
d0ee5b859a
GS/VK: Fix flat specifier in VK shader.
2026-04-21 23:28:00 +02:00
lightningterror
20bbb99516
GS/HW: Fix shader compile errors and warnings from AA1 on GL.
2026-04-21 02:20:13 +02:00
TJnotJT
2ae8f1f23f
GS/HW: Support HW AA1 for lines/triangles.
...
Credits: concept by TellowKrinkle.
2026-04-20 11:16:27 +02:00
TellowKrinkle
c1aa19c306
GS: Clean up feedback shader flags
...
No more checking 3 different flags to decide one thing
2026-04-08 10:42:36 +02:00
TellowKrinkle
95b50e7f81
GS: Clean trailing whitespace from shaders
2026-04-08 10:42:36 +02:00
TJnotJT
93212882d0
GS/HW: Depth feedback loops and accurate AFAIL. ( #13631 )
...
Add support for depth feedback loops either via texture barriers or copies.
DX12 and OpenGL do depth feedback by creating a temporary color texture to hold Z and using multiple color outputs.
Use the depth feedback for accurate AFAIL (enabled via INI setting).
2026-03-18 02:12:12 +01:00
crashGG
62c40f1f01
GS/HW: Resolving data range errors in int() when using depth.
...
Use uint instead of int when applicable in shaders when using depth.
2026-02-18 01:34:03 +01:00
TJnotJT
ec96feb22e
GS/HW: Use conservative depth for shader depth output.
2026-01-26 23:30:09 +01:00
refractionpcsx2
57ded8a022
GS/HW: Support offsetting for channel shuffle instead of copying
2026-01-17 19:48:01 +01:00
refractionpcsx2
6fc88a4499
GS/HW: Improve fog modulation accuracy in HW renderers
2026-01-17 16:32:10 +01:00
SternXD
d983b2b066
Copyright: Change year from 2002-2025 to 2002-2026
2026-01-15 00:22:32 +01:00
refractionpcsx2
06307abd03
GS/HW: Only enable depth writes/floor calculation if depth is output
2026-01-11 02:36:55 +01:00
refractionpcsx2
daf735b047
GS/HW: Floor depth writes to improve Z testing
2026-01-11 02:36:55 +01:00
refractionpcsx2
44d66555cc
GS/HW: Add options to maintain upscale in Native Scaling
...
This will adjust how the box filter samples to simulate bilinear when upscaling
2025-11-11 21:19:02 +01:00
refractionpcsx2
6ba3f96f27
GS/MAD: Try to reconstruct centre line if previous version was weaved in motion
2025-11-01 09:29:09 -04:00
lightningterror
93bf9db0b4
GS/shaders: Fix types mismatch for ps_convert_rgb5a1_8i shader.
...
Fixes shader compile errors and warnings on mesa, also synch vk and dx shaders for consistency.
2025-09-09 20:29:02 +02:00
Gonzalosilvalde
0cadc3189c
GS: Add gamma control to ShadeBoost
2025-07-24 18:10:53 +02:00
TJnotJT
2a418e3282
GS/HW: Handle first vertex provoking APIs in GSRendererHW.cpp.
2025-07-19 02:39:01 +02:00
TellowKrinkle
e451c5f70c
GS: Remove use of shader_draw_parameters
...
Should fix older Nvidia GPUs
2025-07-10 18:42:56 +02:00
lightningterror
a45f27e6e9
GS/DX: Don't output color for datm/stencil date shaders.
...
RTV(Render target view) is not bound so no need
to output anything, just clip/discard if needed.
Fixes dx11 api warning that pixel shader writes color
output but no rtv is bound.
2025-06-20 02:01:47 +02:00
refractionpcsx2
d1dc6a9c1d
GS/HW: Add 16bit to 8bit conversion shader
2025-06-05 13:51:21 +02:00
Filoppi
8be2b907b3
GS: Add actual HDR and HQ textures and rename the "HDR" textures to colclip (hw) given that's actually what they are (HDR was a very loose term for it)
2025-04-18 19:11:11 +02:00
refractionpcsx2
a6d5598c08
GS/HW: More RT in RT regression fixes
2025-04-17 18:54:33 -04:00
refractionpcsx2
fed266f5ac
GS/HW: Fixes to texture is target offsets
2025-04-17 18:54:33 -04:00
refractionpcsx2
a547d10ab9
GS/HW: Further fixes for RT in RT changes in behaviour
2025-04-17 18:54:33 -04:00