1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-05 02:12:02 +00:00
Ryujinx/Ryujinx.Graphics.Shader/Translation
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
..
Optimizations Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
AttributeConsts.cs Implement shader HelperThreadNV (#2163) 2021-04-02 21:50:35 +11:00
ControlFlowGraph.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
Dominance.cs Implement CAL and RET shader instructions (#1618) 2020-10-25 17:00:44 -03:00
EmitterContext.cs Make sure attributes used on subsequent shader stages are initialized (#2538) 2021-08-11 22:27:00 +02:00
EmitterContextInsts.cs Initial support for shader attribute indexing (#2546) 2021-08-27 01:44:47 +02:00
FeatureFlags.cs Initial support for shader attribute indexing (#2546) 2021-08-27 01:44:47 +02:00
GlobalMemory.cs Support compute uniform buffers emulated with global memory (#924) 2020-02-11 01:10:05 +01:00
RegisterUsage.cs Use multiple dest operands for shader call instructions (#1975) 2021-02-01 11:13:38 +11:00
Rewriter.cs Workaround for Intel FrontFacing built-in variable bug (#2540) 2021-08-11 23:01:06 +02:00
ShaderConfig.cs Fix TXQ for 3D textures. (#2613) 2021-09-02 00:17:43 -03:00
ShaderHeader.cs Implement geometry shader passthrough (#1961) 2021-01-29 14:38:51 +11:00
Ssa.cs Use multiple dest operands for shader call instructions (#1975) 2021-02-01 11:13:38 +11:00
TargetApi.cs Allow shader language and target API to be specified on the shader translator (#2402) 2021-07-06 21:20:06 +02:00
TargetLanguage.cs shadertools: Prepare for new target Languages and APIs (#2465) 2021-07-18 12:49:39 +02:00
TranslationCounts.cs Replace BGRA and scale uniforms with a uniform block (#2496) 2021-08-11 21:33:43 +02:00
TranslationFlags.cs Fix shader regression on Intel iGPUs by reverting layout changes (#1425) 2020-07-29 08:01:11 +10:00
TranslationOptions.cs Allow shader language and target API to be specified on the shader translator (#2402) 2021-07-06 21:20:06 +02:00
Translator.cs Make sure attributes used on subsequent shader stages are initialized (#2538) 2021-08-11 22:27:00 +02:00
TranslatorContext.cs Initial support for shader attribute indexing (#2546) 2021-08-27 01:44:47 +02:00