summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/synchronization.cpp
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-12-25 23:34:38 -0300
committerGravatar ReinUsesLisp2020-12-25 23:34:38 -0300
commit661483f313a7dbbbebd4f233acecb06b6505a636 (patch)
tree4d549417a89e271cd1d66295c1993ed7704e6d2e /src/core/hle/kernel/synchronization.cpp
parentMerge pull request #5226 from ReinUsesLisp/c4715-vc (diff)
downloadyuzu-661483f313a7dbbbebd4f233acecb06b6505a636.tar.gz
yuzu-661483f313a7dbbbebd4f233acecb06b6505a636.tar.xz
yuzu-661483f313a7dbbbebd4f233acecb06b6505a636.zip
renderer_vulkan/fixed_pipeline_state: Move enabled bindings to static state
Without using VK_EXT_robustness2, we can't consider the 'enabled' (not null) vertex buffers as dynamic state, as this leads to invalid Vulkan state. Move this to static state that is always hashed and compared in the pipeline key. The bits for enabled vertex buffers are moved into the attribute state bitfield. This is not 'correct' as it's not an attribute state, but that struct has bits to spare, and it's used in an array of 32 elements (the exact same number of vertex buffer bindings).
Diffstat (limited to 'src/core/hle/kernel/synchronization.cpp')
0 files changed, 0 insertions, 0 deletions