ryujinx/Ryujinx.Graphics.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
..
CodeGen/Glsl Implement Shader Instructions SUATOM and SURED (#2090) 2021-08-31 02:51:57 -03:00
Decoders Implement Shader Instructions SUATOM and SURED (#2090) 2021-08-31 02:51:57 -03:00
Instructions Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
IntermediateRepresentation Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
StructuredIr Implement Shader Instructions SUATOM and SURED (#2090) 2021-08-31 02:51:57 -03:00
Translation Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
BufferDescriptor.cs
BufferUsageFlags.cs
Constants.cs Initial support for shader attribute indexing (#2546) 2021-08-27 01:44:47 +02:00
IGpuAccessor.cs Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
InputTopology.cs
OutputTopology.cs
Ryujinx.Graphics.Shader.csproj
SamplerType.cs
ShaderProgram.cs shadertools: Prepare for new target Languages and APIs (#2465) 2021-07-18 12:49:39 +02:00
ShaderProgramInfo.cs
ShaderStage.cs
SupportBuffer.cs Ensure render scale is initialized to 1 on the backend (#2543) 2021-08-11 19:44:41 -03:00
TextureDescriptor.cs
TextureFormat.cs
TextureUsageFlags.cs