diff options
| author | Yong He <yonghe@outlook.com> | 2021-12-09 10:46:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-09 10:46:41 -0800 |
| commit | 1c99a986ae12a3f1ce4cee86191052183d37208a (patch) | |
| tree | e9903d1e569badef813e3f5f33696683bd34f3b0 /tools/gfx/vulkan/vk-util.cpp | |
| parent | 4ca37fea2829ad9c623b94d77bb0311f76ad0971 (diff) | |
Remove `PipelineType` from gfx header. (#2051)
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/vulkan/vk-util.cpp')
| -rw-r--r-- | tools/gfx/vulkan/vk-util.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tools/gfx/vulkan/vk-util.cpp b/tools/gfx/vulkan/vk-util.cpp index 574e1b9c4..0f6dfaf32 100644 --- a/tools/gfx/vulkan/vk-util.cpp +++ b/tools/gfx/vulkan/vk-util.cpp @@ -148,21 +148,6 @@ VkShaderStageFlags VulkanUtil::getShaderStage(SlangStage stage) } } -VkPipelineBindPoint VulkanUtil::getPipelineBindPoint(PipelineType pipelineType) -{ - switch (pipelineType) - { - case gfx::PipelineType::Graphics: - return VK_PIPELINE_BIND_POINT_GRAPHICS; - case gfx::PipelineType::Compute: - return VK_PIPELINE_BIND_POINT_COMPUTE; - case gfx::PipelineType::RayTracing: - return VK_PIPELINE_BIND_POINT_RAY_TRACING_KHR; - default: - return VkPipelineBindPoint(-1); - } -} - VkImageLayout VulkanUtil::getImageLayoutFromState(ResourceState state) { switch (state) |
