diff options
author | riperiperi <rhy3756547@hotmail.com> | 2022-09-29 16:32:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-29 12:32:49 -0300 |
commit | f502cfaf62d52decb5c74d42f33ce6643f62fc26 (patch) | |
tree | a0706e41ee86eab0d1fcf5fa8ead38fd13546f0e /ARMeilleure/Allocators.cs | |
parent | 1fd5cf2b4a6f592cc8df945e540ea523a799bb97 (diff) |
Vulkan: Zero blend state when disabled or write mask is 0 (#3719)1.1.281
* Zero blend state when disabled or write mask is 0
Any difference in the blend state when blend is disabled is meaningless, but Ryujinx would compare different disabled blends and compile them as separate pipelines. This change ensures that all pipelines where blend state is meaningless record it as such, which avoids compiling a bunch of pipelines that are essentially identical.
The NVIDIA driver is pretty forgiving when it comes to silly pipeline misses like this, but other drivers don't offer the same level of kindness.
This should reduce stuttering on those drivers, and might improve overall performance very slightly due to less pipeline variants being in the hash table.
* Fix blend possibly being wrong when an attachment is unmasked
Diffstat (limited to 'ARMeilleure/Allocators.cs')
0 files changed, 0 insertions, 0 deletions