summaryrefslogtreecommitdiffstats
path: root/tools/gfx/vulkan/render-vk.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-11-15 13:52:37 -0800
committerGitHub <noreply@github.com>2021-11-15 13:52:37 -0800
commitae9df74fce7e3583effc822b3003542cf753823d (patch)
tree3bfff7def0c448a868876e0656babd2c84472fca /tools/gfx/vulkan/render-vk.cpp
parent7a4f08ee0411220c728bf42832d98e72d72167e2 (diff)
Update gfx interface. (#2015)
Diffstat (limited to 'tools/gfx/vulkan/render-vk.cpp')
-rw-r--r--tools/gfx/vulkan/render-vk.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/tools/gfx/vulkan/render-vk.cpp b/tools/gfx/vulkan/render-vk.cpp
index a3f5e078b..2a48e60d8 100644
--- a/tools/gfx/vulkan/render-vk.cpp
+++ b/tools/gfx/vulkan/render-vk.cpp
@@ -3756,13 +3756,6 @@ public:
return setPipelineStateImpl(pipelineState, outRootObject);
}
- virtual SLANG_NO_THROW Result SLANG_MCALL
- bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override
- {
- SLANG_UNIMPLEMENTED_X("bindPipelineAndRootObject");
- return SLANG_E_NOT_AVAILABLE;
- }
-
virtual SLANG_NO_THROW void SLANG_MCALL
setViewports(uint32_t count, const Viewport* viewports) override
{
@@ -4007,13 +4000,6 @@ public:
return setPipelineStateImpl(pipelineState, outRootObject);
}
- virtual SLANG_NO_THROW Result SLANG_MCALL
- bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override
- {
- SLANG_UNIMPLEMENTED_X("bindPipelineAndRootObject");
- return SLANG_E_NOT_AVAILABLE;
- }
-
virtual SLANG_NO_THROW void SLANG_MCALL dispatchCompute(int x, int y, int z) override
{
auto pipeline = static_cast<PipelineStateImpl*>(m_currentPipeline.Ptr());
@@ -4598,14 +4584,6 @@ public:
SLANG_UNUSED(outRootObject);
}
- virtual SLANG_NO_THROW void SLANG_MCALL
- bindPipelineAndRootObject(IPipelineState* state, IShaderObject* rootObject) override
- {
- SLANG_UNUSED(state);
- SLANG_UNUSED(rootObject);
- SLANG_UNIMPLEMENTED_X("bindPipelineAndRootObject");
- }
-
virtual SLANG_NO_THROW void SLANG_MCALL dispatchRays(
const char* rayGenShaderName,
int32_t width,
@@ -4754,7 +4732,7 @@ public:
}
virtual SLANG_NO_THROW void SLANG_MCALL executeCommandBuffers(
- uint32_t count, ICommandBuffer* const* commandBuffers, IFence* fence) override
+ uint32_t count, ICommandBuffer* const* commandBuffers, IFence* fence, uint64_t valueToSignal) override
{
// TODO: implement fence signaling.
assert(fence == nullptr);