R/Ryujinx.Graphics.Gpu/Shader
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
..
Cache Use a new approach for shader BRX targets (#2532) 2021-08-11 20:59:42 +02:00
CachedGpuAccessor.cs Workaround for Intel FrontFacing built-in variable bug (#2540) 2021-08-11 23:01:06 +02:00
GpuAccessor.cs Unify GpuAccessorBase and TextureDescriptorCapableGpuAccessor (#2542) 2021-08-11 18:56:59 -03:00
GpuAccessorState.cs Separate GPU engines (part 2/2) (#2440) 2021-07-11 17:20:40 -03: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 Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
ShaderCacheState.cs Fix inconsistencies in progress reporting (#2129) 2021-03-22 19:40:07 +01:00
ShaderCodeHolder.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
ShaderCompileTask.cs Use a new approach for shader BRX targets (#2532) 2021-08-11 20:59:42 +02:00
ShaderDumper.cs Make sure attributes used on subsequent shader stages are initialized (#2538) 2021-08-11 22:27:00 +02:00
ShaderDumpPaths.cs Make sure attributes used on subsequent shader stages are initialized (#2538) 2021-08-11 22:27:00 +02:00
TextureDescriptorCapableGpuAccessor.cs Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00