1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-12 04:52:02 +00:00
Ryujinx/Ryujinx.Graphics.Shader/IntermediateRepresentation
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
..
BasicBlock.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
CommentNode.cs
Function.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
INode.cs Support multiple destination operands on shader IR and shuffle predicates (#1964) 2021-01-28 10:59:47 +11:00
Instruction.cs Implement Shader Instructions SUATOM and SURED (#2090) 2021-08-31 02:51:57 -03:00
IrConsts.cs
Operand.cs Better IPA shader instruction implementation (#1082) 2020-04-03 11:20:47 +11:00
OperandHelper.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
OperandType.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
Operation.cs Use multiple dest operands for shader call instructions (#1975) 2021-02-01 11:13:38 +11:00
PhiNode.cs Support multiple destination operands on shader IR and shuffle predicates (#1964) 2021-01-28 10:59:47 +11:00
TextureFlags.cs Implement Shader Instructions SUATOM and SURED (#2090) 2021-08-31 02:51:57 -03:00
TextureOperation.cs Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00