rhi: Fix offscreen manual test's Vulkan init
Pick-to: 6.5 Change-Id: Iaf7da78fd0c1c1265b05bfd4c7ced5d94ae963fe Reviewed-by: Andy Nichols <andy.nichols@qt.io>
This commit is contained in:
parent
24fe86ebe7
commit
1645ce9a4a
@ -137,6 +137,7 @@ int main(int argc, char **argv)
|
||||
if (graphicsApi == Vulkan) {
|
||||
QLoggingCategory::setFilterRules(QStringLiteral("qt.vulkan=true"));
|
||||
inst.setLayers({ "VK_LAYER_KHRONOS_validation" });
|
||||
inst.setExtensions(QRhiVulkanInitParams::preferredInstanceExtensions());
|
||||
if (inst.create()) {
|
||||
QRhiVulkanInitParams params;
|
||||
params.inst = &inst;
|
||||
|
Loading…
Reference in New Issue
Block a user