summaryrefslogtreecommitdiffstats
path: root/tools/gfx/d3d11/d3d11-buffer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/d3d11/d3d11-buffer.cpp')
-rw-r--r--tools/gfx/d3d11/d3d11-buffer.cpp32
1 files changed, 32 insertions, 0 deletions
diff --git a/tools/gfx/d3d11/d3d11-buffer.cpp b/tools/gfx/d3d11/d3d11-buffer.cpp
new file mode 100644
index 000000000..aa51b999f
--- /dev/null
+++ b/tools/gfx/d3d11/d3d11-buffer.cpp
@@ -0,0 +1,32 @@
+// d3d11-buffer.cpp
+#include "d3d11-buffer.h"
+
+namespace gfx
+{
+
+using namespace Slang;
+
+namespace d3d11
+{
+
+SLANG_NO_THROW DeviceAddress SLANG_MCALL BufferResourceImpl::getDeviceAddress()
+{
+ return 0;
+}
+
+SLANG_NO_THROW Result SLANG_MCALL
+ BufferResourceImpl::map(MemoryRange* rangeToRead, void** outPointer)
+{
+ SLANG_UNUSED(rangeToRead);
+ SLANG_UNUSED(outPointer);
+ return SLANG_FAIL;
+}
+
+SLANG_NO_THROW Result SLANG_MCALL BufferResourceImpl::unmap(MemoryRange* writtenRange)
+{
+ SLANG_UNUSED(writtenRange);
+ return SLANG_FAIL;
+}
+
+} // namespace d3d11
+} // namespace gfx