Archived
1
0
Fork 0
forked from Mirror/Ryujinx
This repository has been archived on 2024-10-11. You can view files and clone it, but cannot push or open issues or pull requests.
jinx/Ryujinx.Graphics.Gpu
riperiperi f23b2878cc
Shader: Add fallback for LDG from "ube" buffer ranges. (#4027)
We have a conversion from LDG on the compute shader to a special constant buffer binding that's used to exceed hardware limits on compute, but it was only running if the byte offset could be identified. The fallback that checks all of the bindings at runtime only checks the storage buffers.

This PR adds checking ube ranges to the LoadGlobal fallback. This extends the changes in #4011 to only check ube entries which are accessed by the shader.

Fixes particles affected by the wind in The Legend of Zelda: Breath of the Wild. May fix other weird issues with compute shaders in some games.

Try a bunch of games and drivers to make sure they don't blow up loading constants willynilly from searchable buffers.
2022-12-06 23:15:44 +00:00
..
Engine Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Image Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Memory Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
Shader Shader: Add fallback for LDG from "ube" buffer ranges. (#4027) 2022-12-06 23:15:44 +00:00
Synchronization When waiting on CPU, do not return a time out error from EventWait (#2780) 2021-11-01 19:10:02 -03:00
ClassId.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03:00
Constants.cs GPU: Eliminate CB0 accesses when storage buffer accesses are resolved (#3847) 2022-11-17 18:47:41 +01:00
GpuChannel.cs Unsubscribe MemoryUnmappedHandler even when GPU channel is destroyed (#3872) 2022-11-19 23:54:33 -03:00
GpuContext.cs GPU: Track buffer migrations and flush source on incomplete copy (#3952) 2022-12-01 16:30:13 +01:00
GraphicsConfig.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
Ryujinx.Graphics.Gpu.csproj infra: Migrate to .NET 7 (#3795) 2022-11-09 20:22:43 +01:00
Window.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00