lightningterror
c9216e5625
GS-hw: Remove useless shader line from CLR As/Af case.
2022-01-24 11:42:54 +01:00
lightningterror
93af9656d0
GS-hw: Fix clr 1 case shader.
...
Forgot to rename.
2022-01-24 11:11:38 +01:00
lightningterror
4ab9d1a493
GS-hw: Implement alternative hw blending for Cd*As, Cd*F.
...
Do hw blend for Cd*As, Cd*F, expand the clear color blend method as it is almost the same.
Most helpful for dx11 ofc, for gl/vulkan will help with rendering on lower
levels of blending without needing a barrier.
2022-01-23 20:59:35 +01:00
lightningterror
3c92054a6e
GS-hw: Move PABE shader bit to the top of sw blending.
...
Early return when there is no sw blending, no need to run the blend code.
Optimization.
2022-01-11 13:15:56 +01:00
Connor McLaughlin
0c36647506
GS: Rewrite presentation interface and OSD
2022-01-02 15:06:39 +00:00
Connor McLaughlin
2330d3a056
GS: Use hardware point/line expansion where supported in GL
2022-01-02 15:06:39 +00:00
Connor McLaughlin
bce54a64ff
GS: Use flat/nointerpolation for IIP=0 instead of GS
2022-01-02 15:06:39 +00:00
lightningterror
6a431daffc
GS-hw: Extend Blend mix to work when alpha is higher than 1.
...
Clamp the alpha(As/Af) to 1 in the shader, it is already clamped to 1 in hw blend unit.
It should allow to better render the effects, still not fully accurate but it's closer to what we want.
Hopefully it helps D3D11 more.
2021-12-27 20:22:41 +01:00
Connor McLaughlin
a2ae4ba441
GS/OpenGL: Get rid of interface blocks for convert shaders
2021-12-26 13:21:51 +00:00
Connor McLaughlin
4e1b2792c9
GS/OpenGL: Move some uniform buffers to program uniforms
2021-12-26 13:21:51 +00:00
Connor McLaughlin
6e064da536
GS/OpenGL: Use programs instead of separate pipelines
2021-12-26 13:21:51 +00:00
Sergeanur
21bc56a8ba
GS: Simulate scan mask
2021-12-26 11:51:25 +00:00
Connor McLaughlin
efed92b15c
GS/OpenGL: Move scaling factor to shader constant
2021-12-22 11:41:57 +01:00
Connor McLaughlin
08c00eed1e
GS: Unify constant buffers between renderers
2021-12-22 11:41:57 +01:00
TellowKrinkle
a11b8c4750
GS:OGL: Use GSHWDrawConfig selector structs
2021-12-19 22:21:10 +01:00
TellowKrinkle
da651cabe4
Resources: Move shaders to shared shader/ directory
2021-12-12 06:10:47 -06:00