kd-11
40eda1b972
rsx: Make const explicitly unsigned
...
- Can silence some GLSL compiler noise in mesa
2024-04-17 22:22:37 +03:00
kd-11
a5c3e303c7
rsx: Improve ROP output rounding precision
...
- Lower 12 bits seem to be unused based on empirical sampling
2024-04-17 22:22:37 +03:00
kd-11
823c72bf27
rsx/vk: Redefine the (de)tiler config interface
2024-02-10 15:15:02 +03:00
Megamouse
cba51b4a5e
rsx/glsl: use const for left/right
2024-02-02 10:07:23 +01:00
kd-11
8962ddca01
rsx/glsl: Fix typo
2024-02-02 10:07:23 +01:00
kd-11
1808a4373b
rsx: Improvements to the video out passes
...
- Use shared VS for vulkan as well as GL
- Simplify binding model and give control back to the cpp side
2024-02-02 10:07:23 +01:00
Megamouse
ac9afbfede
glsl: use fragCoord to decide interlacing
2024-02-02 10:07:23 +01:00
Megamouse
4e8130bd99
glsl: use textureSize instead of height
2024-02-02 10:07:23 +01:00
Megamouse
00c9321b1d
glsl: use const in for params
2024-02-02 10:07:23 +01:00
Megamouse
8e8b582747
glsl: move anaglpyh to separate functions
2024-02-02 10:07:23 +01:00
Megamouse
6f2e843193
vk/gl: add amber-blue anaglyph (ColorCode 3D)
2024-02-02 10:07:23 +01:00
Megamouse
7d9460a560
vk/gl: cleanup formatting in glsl, move some common magic numbers to variables
2024-02-02 10:07:23 +01:00
Megamouse
32f2b14429
vk/gl: add interlaced 3D mode
2024-02-02 10:07:23 +01:00
Megamouse
651f8512eb
vk/gl: add more anaglyph 3D modes
2024-02-02 10:07:23 +01:00
Megamouse
3dac7d16e7
vk/gl: unite video_out_calibration_pass fragment shader to new glsl
2024-02-02 10:07:23 +01:00
kd-11
8eae8cb86c
rsx: Do not emit rounding code when not needed
2024-01-21 12:30:37 +03:00
kd-11
abe5013f1d
rsx: Fix compiling of mixed-precision shaders
2024-01-21 12:30:37 +03:00
kd-11
ca7de4bcb1
rsx: Aesthetic changes
2024-01-21 12:30:37 +03:00
kd-11
0971636c07
rsx: More pipeine refactoring
2024-01-21 12:30:37 +03:00
kd-11
d4796c46b1
rsx: Fix detiler shader compilation
2023-12-30 12:35:23 +01:00
kd-11
188eefeeac
rsx: Avoid out of bounds write for tiled memory
2023-12-30 12:35:23 +01:00
kd-11
ffc61e01f7
rsx/vk: Support mismatched pitch (padded) and fix the overscan problem
2023-09-27 14:52:59 +03:00
kd-11
647f7ddeec
rsx/vk: Initial hw-accelerated tile decoder
2023-09-27 14:52:59 +03:00
kd-11
0d57744efa
rsx: Fix AMD shader codegen
2023-07-10 22:44:40 +03:00
kd-11
a98b4adead
rsx: Fix projected coordinates calculation again
2023-07-09 19:33:48 +03:00
kd-11
186fe53279
rsx: Fix the default shadow codegen path
2023-07-09 19:33:48 +03:00
kd-11
c9917c826a
Fix typo
2023-07-09 19:33:48 +03:00
kd-11
aedebecae2
rsx: Reimplement projected texturing
2023-07-09 19:33:48 +03:00
kd-11
d41fe80b8e
Clamp MSAA sampling weights to avoid clipping
2023-07-05 02:51:04 +03:00
kd-11
465c421707
rsx: Wrap MSAA coordinates before texelFetch
2023-07-04 23:41:12 +03:00
kd-11
c9da795bf3
rsx: Fix vp codegen when unrestricted depth range extension is absent
2023-07-04 09:31:51 +03:00
kd-11
fac8bcc20c
rsx: Formatting and tidying changes
2023-07-04 09:31:51 +03:00
kd-11
436ef1cff6
rsx: Fix shader compilation when texture ops are referenced
2023-07-04 09:31:51 +03:00
kd-11
d77a78cdf1
rsx: Rework texture coordinate handling to support clamping and a more sane scale-bias setup
2023-07-04 09:31:51 +03:00
kd-11
66cb855db0
rsx: Fix fragment program codegen
2023-07-04 09:31:51 +03:00
kd-11
fb3aa9628d
rsx: Migrate vertex fetch out of the cpp file
2023-07-04 09:31:51 +03:00
kd-11
89c81d9f22
rsx: Switch common codegen to use the glsl scripts
2023-07-04 09:31:51 +03:00
kd-11
cffcfad42a
rsx: Add the glsl files
...
- Generated from inline strings in GLSLCommon.cpp
2023-07-04 09:31:51 +03:00
Margen67
5bb89328d0
Remove whitespace
2023-02-15 08:58:02 +01:00
Megamouse
5a63271f0e
Fix openGl overlay colors
2023-02-07 13:40:47 +01:00
kd-11
dc8652806e
rsx/overlays: Support disabling vertex-snap on a per-draw-call basis
2023-02-05 01:30:20 +03:00
kd-11
64ec99be33
rsx: Unify UI rendering shaders
2023-02-05 01:30:20 +03:00
kd-11
04f6302ecc
Fix decode shader compilation
2022-10-16 19:58:30 +03:00
kd-11
6d43fcf8fb
gl: Fall back to renderpass decoder on ATI drivers
2022-10-16 19:58:30 +03:00
kd-11
362a26a404
gl: Fix D24X8 accelerated encode/decode
...
- PS3 D24X8 is swapped as a full word, unlike PC.
- Add missing paths to handle custom swap behavior.
2022-09-22 23:46:48 +03:00
kd-11
df36c44bc2
gl: Avoid UBO/SSBO binding index collisions
...
- Some drivers don't like this. Actually only RADV.
- Almost all GPUs going back 15 years have a large number of UBO slots but limited SSBO slots.
Move UBO slots up as we have tons more headroom there.
2022-09-19 01:37:10 +03:00
kd-11
ab3cde1939
gl: Do some macro patching for intel driver
2022-07-21 22:29:40 +03:00
kd-11
82439327fa
gl: Support loading data from SSBO using compute shaders
...
- Gives better performance than using raw draw calls.
- Does not work with all formats. The draw call version is still used when needed.
2022-07-13 02:09:58 +03:00
kd-11
9fc6382909
gl: Finalize BGRA storage format internals
...
- Performance is terrible but it works properly now
2022-07-13 02:09:58 +03:00
kd-11
f948ce399e
gl: Implement CopyBufferToImage in software
...
- Overrides the drivers CopyBufferToImage handling where possible
2022-07-13 02:09:58 +03:00