rjx-mirror/Ryujinx.Graphics.Shader/Instructions
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
..
InstEmitAlu.cs Fix ZN flags set for shader instructions using RZ.CC dest (#2147) 2021-03-27 22:59:05 +01:00
InstEmitAluHelper.cs Implement LEA.HI shader instruction (#1609) 2020-10-12 21:46:04 -03:00
InstEmitConversion.cs Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
InstEmitFArith.cs Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
InstEmitFlow.cs Use a new approach for shader BRX targets (#2532) 2021-08-11 20:59:42 +02:00
InstEmitHelper.cs Move shader resource descriptor creation out of the backend (#2290) 2021-05-19 23:15:26 +02:00
InstEmitMemory.cs Initial support for shader attribute indexing (#2546) 2021-08-27 01:44:47 +02:00
InstEmitMove.cs Implement shader HelperThreadNV (#2163) 2021-04-02 21:50:35 +11:00
InstEmitter.cs Initial work 2020-01-09 02:13:00 +01:00
InstEmitTexture.cs Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
InstEmitVideo.cs Implement VMNMX shader instruction (#1032) 2020-03-25 15:49:10 +01:00
InstEmitVote.cs Refactor shader GPU state and memory access (#1203) 2020-05-06 11:02:28 +10:00
Lop3Expression.cs Initial work 2020-01-09 02:13:00 +01:00