Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Fix flaky mass_spring_game_ggui.py on Mac M1 by setting up default values for VulkanCapabilities #6850

Merged
merged 3 commits into from
Dec 9, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions taichi/rhi/vulkan/vulkan_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -562,12 +562,12 @@ class VulkanStream : public Stream {
};

struct VulkanCapabilities {
uint32_t vk_api_version;
bool physical_device_features2;
bool external_memory;
bool wide_line;
bool surface;
bool present;
uint32_t vk_api_version{0};
bool physical_device_features2{false};
bool external_memory{false};
bool wide_line{false};
bool surface{false};
bool present{false};
};

class TI_DLL_EXPORT VulkanDevice : public GraphicsDevice {
Expand Down