R/Ryujinx.Graphics.Gpu/Shader
riperiperi 1623ab524f
Improve Buffer Textures and flush Image Stores (#2088)
* Improve Buffer Textures and flush Image Stores

Fixes a number of issues with buffer textures:

- Reworked Buffer Textures to create their buffers in the TextureManager, then bind them with the BufferManager later.
  - Fixes an issue where a buffer texture's buffer could be invalidated after it is bound, but before use.
- Fixed width unpacking for large buffer textures. The width is now 32-bit rather than 16.
- Force buffer textures to be rebound whenever any buffer is created, as using the handle id wasn't reliable, and the cost of binding isn't too high.

Fixes vertex explosions and flickering animations in UE4 games.

* Set ImageStore flag... for ImageStore.

* Check the offset and size.
2021-03-08 18:43:39 -03:00
..
Cache Simplify handling of shader vertex A (#1999) 2021-02-08 10:42:17 +11:00
CachedGpuAccessor.cs Implement Force Early Z Register (#1755) 2020-12-02 00:13:27 +01:00
GpuAccessor.cs Implement Force Early Z Register (#1755) 2020-12-02 00:13:27 +01:00
ShaderAddresses.cs Suppress warnings from fields never used or never assigned (CS0169 and CS0649) (#919) 2020-04-21 07:59:59 +10:00
ShaderBundle.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
ShaderCache.cs Improve Buffer Textures and flush Image Stores (#2088) 2021-03-08 18:43:39 -03:00
ShaderCodeHolder.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
ShaderDumper.cs Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
TextureDescriptorCapableGpuAccessor.cs shader cache: Fix invalid virtual address clean up (#1717) 2020-11-17 22:20:17 +01:00