Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 30, 2023
1 parent 6ded205 commit 945dfb1
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions taichi/rhi/public_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@ constexpr size_t kBufferSizeEntireSize = std::numeric_limits<size_t>::max();
inline name operator&(name a, name b) { \
return static_cast<name>(int(a) & int(b)); \
} \
inline bool operator&&(name a, name b) { \
return (int(a) & int(b)) != 0; \
}
inline bool operator&&(name a, name b) { return (int(a) & int(b)) != 0; }

enum class BlendOp : uint32_t { add, subtract, reverse_subtract, min, max };

Expand Down
2 changes: 1 addition & 1 deletion taichi/ui/ggui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ target_link_libraries(taichi_ui_ggui PRIVATE imgui)
target_link_libraries(taichi_ui_ggui PRIVATE ti_device_api)
if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
target_link_libraries(taichi_ui_ggui PRIVATE "-framework QuartzCore")
endif()
endif()
2 changes: 1 addition & 1 deletion taichi/ui/ggui/nswindow_adapter.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ struct NSWindowAdapter {

} // namespace vulkan

} // namespace taichi::ui
} // namespace taichi::ui
2 changes: 1 addition & 1 deletion taichi/ui/ggui/nswindow_adapter.mm
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@

} // namespace vulkan

} // namespace taichi::ui
} // namespace taichi::ui

0 comments on commit 945dfb1

Please sign in to comment.