aboutsummaryrefslogtreecommitdiff
path: root/src/tests
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
commit4ea0d7a8f1807cb82caece040ddb4df9b379b78e (patch)
tree4d549417a89e271cd1d66295c1993ed7704e6d2e /src/tests
parent2ee2a45da22b8fd7c68a540412db13be9306cf2a (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')
0 files changed, 0 insertions, 0 deletions