Skip to content

Commit 62a2f51

Browse files
ShabbyXCommit Bot
authored and
Commit Bot
committed
Vulkan: Remove DispatchHelper
This class is no longer used. Bug: angleproject:4029 Change-Id: I2758b286ae10856a5dff3decbb1cf9c58b44e354 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2260936 Reviewed-by: Jamie Madill <[email protected]> Commit-Queue: Shahbaz Youssefi <[email protected]>
1 parent 2df3bf5 commit 62a2f51

File tree

3 files changed

+0
-17
lines changed

3 files changed

+0
-17
lines changed

src/libANGLE/renderer/vulkan/ContextVk.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,6 @@ class ContextVk : public ContextImpl, public vk::Context
847847
QueryVk *mActiveQueryAnySamples;
848848
QueryVk *mActiveQueryAnySamplesConservative;
849849

850-
// Graph resource used to record dispatch commands and hold resource dependencies.
851-
vk::DispatchHelper mDispatcher;
852-
853850
// The offset we had the last time we bound the index buffer.
854851
const GLvoid *mLastIndexBufferOffset;
855852
gl::DrawElementsType mCurrentDrawElementsType;

src/libANGLE/renderer/vulkan/vk_helpers.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5019,11 +5019,6 @@ angle::Result SamplerHelper::init(Context *context, const VkSamplerCreateInfo &c
50195019
return angle::Result::Continue;
50205020
}
50215021

5022-
// DispatchHelper implementation.
5023-
DispatchHelper::DispatchHelper() = default;
5024-
5025-
DispatchHelper::~DispatchHelper() = default;
5026-
50275022
// ShaderProgramHelper implementation.
50285023
ShaderProgramHelper::ShaderProgramHelper() = default;
50295024

src/libANGLE/renderer/vulkan/vk_helpers.h

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1696,15 +1696,6 @@ class FramebufferHelper : public Resource
16961696
Framebuffer mFramebuffer;
16971697
};
16981698

1699-
// A special command graph resource to hold resource dependencies for dispatch calls. It's the
1700-
// equivalent of FramebufferHelper, though it doesn't contain a Vulkan object.
1701-
class DispatchHelper : public Resource
1702-
{
1703-
public:
1704-
DispatchHelper();
1705-
~DispatchHelper() override;
1706-
};
1707-
17081699
class ShaderProgramHelper : angle::NonCopyable
17091700
{
17101701
public:

0 commit comments

Comments
 (0)