summaryrefslogtreecommitdiff
path: root/src/tests/common/ring_buffer.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-12-26 01:50:25 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-12-31 02:07:33 -0300
commitf687392e6f29d1b65cd80a18f86a55122bde417c (patch)
treeaca4dd89e0e67d7055bb844cf9ceaf2e8c6c8cf2 /src/tests/common/ring_buffer.cpp
parent53ea06dc17ccf9232aa3326a4621500058f9d253 (diff)
vk_device: Stop initialization when device is not suitable
VKDevice::IsSuitable was not being called. To address this issue, check suitability before initialization and throw an exception if it fails. By doing this, we can deduplicate some code on queue searches. Previosuly we would first search if a present and graphics queue existed, then on initialization we would search again to find the index.
Diffstat (limited to 'src/tests/common/ring_buffer.cpp')
0 files changed, 0 insertions, 0 deletions