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 Apr 12, 2022
1 parent 1007653 commit 9a3ed6e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion taichi/backends/dx/dx_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -871,4 +871,4 @@ ResourceBinder *Dx11Pipeline::resource_binder() {
} // namespace lang
} // namespace taichi

#endif
#endif
2 changes: 1 addition & 1 deletion taichi/backends/dx/dx_device.h
Original file line number Diff line number Diff line change
Expand Up @@ -296,4 +296,4 @@ class Dx11Device : public GraphicsDevice {
} // namespace lang
} // namespace taichi

#endif
#endif
2 changes: 1 addition & 1 deletion taichi/backends/dx/dx_info_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,4 @@ int Dx11InfoQueue::live_object_count() {
} // namespace lang
} // namespace taichi

#endif
#endif
4 changes: 1 addition & 3 deletions taichi/backends/dx/dx_info_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ namespace taichi {
namespace lang {
namespace directx11 {


class Dx11InfoQueue {
public:
struct Entry {
Expand All @@ -34,9 +33,8 @@ class Dx11InfoQueue {
int last_message_count_;
};


} // namespace directx11
} // namespace lang
} // namespace taichi

#endif
#endif
2 changes: 1 addition & 1 deletion taichi/backends/dx/dx_program.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ void Dx11ProgramImpl::destroy_snode_tree(SNodeTree *snode_tree) {
} // namespace lang
} // namespace taichi

#endif
#endif
2 changes: 1 addition & 1 deletion taichi/backends/dx/dx_program.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ class Dx11ProgramImpl : public ProgramImpl {
} // namespace lang
} // namespace taichi

#endif
#endif

0 comments on commit 9a3ed6e

Please sign in to comment.