1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-04 18:42:01 +00:00
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 Implement lazy flush-on-read for Buffers (SSBO/Copy) (#1790) 2021-01-17 17:08:06 -03:00
BufferUsageFlags.cs Implement lazy flush-on-read for Buffers (SSBO/Copy) (#1790) 2021-01-17 17:08:06 -03:00
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 Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
OutputTopology.cs Support texture rectangle targets (non-normalized coords) 2020-01-09 02:13:00 +01:00
Ryujinx.Graphics.Shader.csproj Add support for shader atomic min/max (S32) (#1948) 2021-01-26 17:38:33 +11:00
SamplerType.cs Avoid sampler conflicts on bindless samplers with the same name (#1642) 2020-10-28 21:20:43 +01:00
ShaderProgram.cs shadertools: Prepare for new target Languages and APIs (#2465) 2021-07-18 12:49:39 +02:00
ShaderProgramInfo.cs Only enable clip distance if written to on shader (#2217) 2021-04-20 12:33:54 +02:00
ShaderStage.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
SupportBuffer.cs Ensure render scale is initialized to 1 on the backend (#2543) 2021-08-11 19:44:41 -03:00
TextureDescriptor.cs Salieri: shader cache (#1701) 2020-11-13 00:15:34 +01:00
TextureFormat.cs Implement SULD shader instruction (#1117) 2020-04-22 09:35:28 +10:00
TextureUsageFlags.cs Improve Buffer Textures and flush Image Stores (#2088) 2021-03-08 18:43:39 -03:00