Skip to content

Commit

Permalink
force vk 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
feisuzhu committed Jul 25, 2022
1 parent b5428cc commit 0b058c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taichi/rhi/vulkan/vulkan_device_creator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
#include "taichi/rhi/vulkan/vulkan_loader.h"
#include "taichi/rhi/vulkan/vulkan_device.h"
#include "taichi/common/logging.h"
#include "vulkan/vulkan_core.h"

namespace taichi {
namespace lang {
Expand Down Expand Up @@ -252,7 +253,7 @@ void VulkanDeviceCreator::create_instance(bool manual_create) {
app_info.applicationVersion = VK_MAKE_VERSION(1, 0, 0);
app_info.pEngineName = "No Engine";
app_info.engineVersion = VK_MAKE_VERSION(1, 0, 0);
app_info.apiVersion = VulkanEnvSettings::kApiVersion();
app_info.apiVersion = VK_API_VERSION_1_0;

VkInstanceCreateInfo create_info{};
create_info.sType = VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO;
Expand Down

0 comments on commit 0b058c3

Please sign in to comment.