summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cuda
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/cuda
parent7a4f08ee0411220c728bf42832d98e72d72167e2 (diff)
Update gfx interface. (#2015)
Diffstat (limited to 'tools/gfx/cuda')
-rw-r--r--tools/gfx/cuda/render-cuda.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/tools/gfx/cuda/render-cuda.cpp b/tools/gfx/cuda/render-cuda.cpp
index 9f52c4c62..e9a9960ad 100644
--- a/tools/gfx/cuda/render-cuda.cpp
+++ b/tools/gfx/cuda/render-cuda.cpp
@@ -956,13 +956,6 @@ public:
return SLANG_OK;
}
- 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
{
m_writer->bindRootShaderObject(m_rootObject);
@@ -1141,8 +1134,9 @@ 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
{
+ SLANG_UNUSED(valueToSignal);
// TODO: implement fence.
assert(fence == nullptr);
for (uint32_t i = 0; i < count; i++)