Skip to content

Commit 05d3b35

Browse files
author
Ailing Zhang
committed
[vulkan] Instruct users to install vulkan sdk if they want to use validation layer
1 parent 1d70030 commit 05d3b35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

taichi/rhi/vulkan/vulkan_device_creator.cpp

+4-1
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,10 @@ void VulkanDeviceCreator::create_instance(bool manual_create) {
267267

268268
if (params_.enable_validation_layer) {
269269
if (!check_validation_layer_support()) {
270-
TI_WARN("validation layers requested but not available, turning off...");
270+
TI_WARN(
271+
"Validation layers requested but not available, turning off... "
272+
"Please make sure Vulkan SDK from https://vulkan.lunarg.com/sdk/home "
273+
"is installed.");
271274
params_.enable_validation_layer = false;
272275
}
273276
}

0 commit comments

Comments
 (0)