1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-05 01:52:21 +00:00
Ryujinx/Ryujinx.Graphics.Shader/Translation
Mary aef25980a7
Salieri: Detect and avoid caching shaders using bindless textures (#2097)
* Salieri: Add blacklist system and blacklist shaders using bindless

Currently the shader cache doesn't have the right format to support
bindless textures correctly and may cache shaders that it cannot rebuild
after host invalidation.

This PR address the issue by blacklisting shaders using bindless
textures.

THis also support detection of already cached broken shader and handle removal
of those.

* Move to a feature flags design to avoid intrusive changes in the translator

This remove the auto correct behaviour

* Reduce diff on TranslationFlags

* Reduce comma on last entry of TranslationFlags

* Fix inverted logic and remove leftovers

* remove debug edits oops
2021-03-19 20:07:37 +01:00
..
Optimizations Traverse PhiNodes for Bindless Elimination (#2089) 2021-03-09 17:27:44 -03:00
AttributeConsts.cs Fix gl_in being used with built-in variables that are not per-vertex (#1624) 2020-10-17 10:16:40 +02: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 Support multiple destination operands on shader IR and shuffle predicates (#1964) 2021-01-28 10:59:47 +11:00
EmitterContextInsts.cs Support multiple destination operands on shader IR and shuffle predicates (#1964) 2021-01-28 10:59:47 +11:00
FeatureFlags.cs Salieri: Detect and avoid caching shaders using bindless textures (#2097) 2021-03-19 20:07:37 +01: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 Simplify logic for bindless texture handling (#1667) 2020-11-09 19:35:04 -03:00
ShaderConfig.cs Implement geometry shader passthrough (#1961) 2021-01-29 14:38:51 +11: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
TranslationCounts.cs Use explicit buffer and texture bindings on shaders (#1666) 2020-11-08 12:10:00 +01:00
TranslationFlags.cs Fix shader regression on Intel iGPUs by reverting layout changes (#1425) 2020-07-29 08:01:11 +10:00
Translator.cs Salieri: Detect and avoid caching shaders using bindless textures (#2097) 2021-03-19 20:07:37 +01:00
TranslatorContext.cs Salieri: Detect and avoid caching shaders using bindless textures (#2097) 2021-03-19 20:07:37 +01:00