1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 10:46:41 +00:00
Ryujinx/Ryujinx.Graphics.Gpu/Shader/DiskCache
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
..
BackgroundDiskCacheWriter.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
BinarySerializer.cs
CompressionAlgorithm.cs
DiskCacheCommon.cs
DiskCacheGpuAccessor.cs GPU: Eliminate CB0 accesses when storage buffer accesses are resolved (#3847) 2022-11-17 18:47:41 +01:00
DiskCacheGuestStorage.cs Vulkan backend (#2518) 2022-07-31 18:26:06 -03:00
DiskCacheHostStorage.cs Shader: Add fallback for LDG from "ube" buffer ranges. (#4027) 2022-12-06 23:15:44 +00:00
DiskCacheLoadException.cs
DiskCacheLoadResult.cs
DiskCacheOutputStreams.cs
GuestCodeAndCbData.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
ParallelDiskCacheLoader.cs Make structs readonly when applicable (#4002) 2022-12-05 14:47:39 +01:00
ShaderBinarySerializer.cs Fix shader cache on Vulkan when geometry shaders are inserted (#3868) 2022-11-19 10:24:23 +01:00