summaryrefslogtreecommitdiff
path: root/src/tests/common/ring_buffer.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-12-25 23:34:38 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-12-25 23:34:38 -0300
commit661483f313a7dbbbebd4f233acecb06b6505a636 (patch)
tree4d549417a89e271cd1d66295c1993ed7704e6d2e /src/tests/common/ring_buffer.cpp
parent0dc4ab42cc1efba566d428c84221a82ef5c76283 (diff)
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/tests/common/ring_buffer.cpp')
0 files changed, 0 insertions, 0 deletions