mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-28 02:24:04 +00:00
f23b2878cc
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. |
||
---|---|---|
.. | ||
CodeGen | ||
Decoders | ||
Instructions | ||
IntermediateRepresentation | ||
StructuredIr | ||
Translation | ||
AlphaTestOp.cs | ||
AttributeType.cs | ||
BufferDescriptor.cs | ||
BufferUsageFlags.cs | ||
Constants.cs | ||
IGpuAccessor.cs | ||
InputTopology.cs | ||
OutputTopology.cs | ||
Ryujinx.Graphics.Shader.csproj | ||
SamplerType.cs | ||
ShaderProgram.cs | ||
ShaderProgramInfo.cs | ||
ShaderStage.cs | ||
SupportBuffer.cs | ||
TessPatchType.cs | ||
TessSpacing.cs | ||
TextureDescriptor.cs | ||
TextureFormat.cs | ||
TextureHandle.cs | ||
TextureUsageFlags.cs |