Initial implementation of CommandPool
Basic shell class for CommandPool
Bug b/119827933
Change-Id: Ibbc8ac641b168a15974fd4ff1803b5aff51f48a3
Reviewed-on: https://swiftshader-review.googlesource.com/c/22730
Tested-by: Alexis Hétu <sugoi@google.com>
Reviewed-by: Nicolas Capens <nicolascapens@google.com>
diff --git a/src/Vulkan/VkCommandPool.cpp b/src/Vulkan/VkCommandPool.cpp
new file mode 100644
index 0000000..155dfeb
--- /dev/null
+++ b/src/Vulkan/VkCommandPool.cpp
@@ -0,0 +1,33 @@
+// Copyright 2018 The SwiftShader Authors. All Rights Reserved.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "VkCommandPool.hpp"
+
+namespace vk
+{
+
+CommandPool::CommandPool(const VkCommandPoolCreateInfo* pCreateInfo, void* mem)
+{
+}
+
+void CommandPool::destroy(const VkAllocationCallbacks* pAllocator)
+{
+}
+
+size_t CommandPool::ComputeRequiredAllocationSize(const VkCommandPoolCreateInfo* pCreateInfo)
+{
+ return 0;
+}
+
+} // namespace vk