1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/Ryujinx.Graphics.Shader/Translation/Optimizations
riperiperi f0b00c1ae9
Fix TXQ for 3D textures. (#2613)
* Fix TXQ for 3D textures.

Assumes the texture is 3D if the component mask contains Z.

This fixes a bug in UE4 games where parts of the map had garbage pointers to lighting voxels, as the lookup 3D texture was not being initialized. Most notable game is THPS1+2.

May need another PR to keep image store data alive and properly flush it in order using the AutoDeleteCache.

* Get sampler type for TextureSize from bound textures.
2021-09-02 00:17:43 -03:00
..
BindlessElimination.cs Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
BindlessToIndexed.cs Move shader resource descriptor creation out of the backend (#2290) 2021-05-19 23:15:26 +02:00
BranchElimination.cs Initial work 2020-01-09 02:13:00 +01:00
ConstantFolding.cs Initial support for double precision shader instructions. (#963) 2020-03-03 15:02:08 +01:00
GlobalToStorage.cs Workaround for Intel FrontFacing built-in variable bug (#2540) 2021-08-11 23:01:06 +02:00
HalfConversion.cs Initial work 2020-01-09 02:13:00 +01:00
Optimizer.cs Implement Shader Instructions SUATOM and SURED (#2090) 2021-08-31 02:51:57 -03:00
Simplification.cs Initial work 2020-01-09 02:13:00 +01:00
Utils.cs Improve shader global memory to storage pass (#2200) 2021-04-18 12:31:39 +02:00