summaryrefslogtreecommitdiffstats
path: root/tools/gfx/d3d11/d3d11-buffer.cpp
blob: 42c4c698ccd5e48db6d3a65a60b4fdb8ac0fa0bd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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