Ryujinx-git/Ryujinx.Graphics.Shader/CodeGen/Glsl/Instructions
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
..
InstGen.cs Fix regression on shader atomic SSBO operations (#1967) 2021-01-27 11:26:23 +11:00
InstGenCall.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
InstGenHelper.cs Support multiple destination operands on shader IR and shuffle predicates (#1964) 2021-01-28 10:59:47 +11:00
InstGenMemory.cs Improve Buffer Textures and flush Image Stores (#2088) 2021-03-08 18:43:39 -03:00
InstGenPacking.cs Initial support for double precision shader instructions. (#963) 2020-03-03 15:02:08 +01:00
InstInfo.cs Initial work 2020-01-09 02:13:00 +01:00
InstType.cs Add a pass to turn global memory access into storage access, and do all storage related transformations on IR 2020-01-09 02:13:00 +01:00