Commit c155e3ba by Ben Clayton

VkCommandBuffer: Remove static Cast() method

This isn't used. There's another Cast() declared at vk scope, below VkCommandBuffer that actually is used. Bug: b/153462569 Change-Id: Id348676c9bb00aa934a972a2833ac6a1d3af54c1 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43575Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com> Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com>
parent 63ed0e44
...@@ -54,11 +54,6 @@ public: ...@@ -54,11 +54,6 @@ public:
CommandBuffer(Device *device, VkCommandBufferLevel pLevel); CommandBuffer(Device *device, VkCommandBufferLevel pLevel);
static inline CommandBuffer *Cast(VkCommandBuffer object)
{
return reinterpret_cast<CommandBuffer *>(object);
}
void destroy(const VkAllocationCallbacks *pAllocator); void destroy(const VkAllocationCallbacks *pAllocator);
VkResult begin(VkCommandBufferUsageFlags flags, const VkCommandBufferInheritanceInfo *pInheritanceInfo); VkResult begin(VkCommandBufferUsageFlags flags, const VkCommandBufferInheritanceInfo *pInheritanceInfo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment