aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/vulkan_common/vulkan_instance.h
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
commitc5fc83ae74175d2077190f45defe2c385cdecd23 (patch)
treeaca4dd89e0e67d7055bb844cf9ceaf2e8c6c8cf2 /src/video_core/vulkan_common/vulkan_instance.h
parent8bc3e207603e0dad7676b7dbc403efd0d8fc6c40 (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/video_core/vulkan_common/vulkan_instance.h')
0 files changed, 0 insertions, 0 deletions