summaryrefslogtreecommitdiffstats
path: root/tools/gfx/d3d11
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-06-23 11:33:30 -0700
committerGitHub <noreply@github.com>2021-06-23 11:33:30 -0700
commit0f2d11dc994c6323b4bfb955b522f3123e731fe0 (patch)
treebc1316bba9217b22f3708dcb03727d70d2d8351a /tools/gfx/d3d11
parent0afa24a3fe7d0e1787cc909f9c7641f477c30e5c (diff)
[gfx] Add `IBufferResource::getDeviceAddress()`. (#1892)
Diffstat (limited to 'tools/gfx/d3d11')
-rw-r--r--tools/gfx/d3d11/render-d3d11.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/gfx/d3d11/render-d3d11.cpp b/tools/gfx/d3d11/render-d3d11.cpp
index c4cd3f655..f2fe9b744 100644
--- a/tools/gfx/d3d11/render-d3d11.cpp
+++ b/tools/gfx/d3d11/render-d3d11.cpp
@@ -210,6 +210,11 @@ protected:
ComPtr<ID3D11Buffer> m_buffer;
ComPtr<ID3D11Buffer> m_staging;
List<uint8_t> m_uploadStagingBuffer;
+
+ virtual SLANG_NO_THROW DeviceAddress SLANG_MCALL getDeviceAddress() override
+ {
+ return 0;
+ }
};
class TextureResourceImpl : public TextureResource
{