yum-mirror/slang
Making it easier to work with shaders
git clone https://git.yummers.dev/yum-mirror/slang
f65d756bf
master
1// d3d11-buffer.cpp 2#include "d3d11-buffer.h" 3 4namespace gfx 5{ 6 7using namespace Slang ; 8 9namespace d3d11 10{ 11 12SLANG_NO_THROW DeviceAddress SLANG_MCALL BufferResourceImpl ::getDeviceAddress () 13{ 14return 0 ; 15} 16 17SLANG_NO_THROW Result SLANG_MCALL 18BufferResourceImpl ::map (MemoryRange * rangeToRead ,void ** outPointer ) 19{ 20SLANG_UNUSED (rangeToRead ); 21SLANG_UNUSED (outPointer ); 22return SLANG_FAIL ; 23} 24 25SLANG_NO_THROW Result SLANG_MCALL BufferResourceImpl ::unmap (MemoryRange * writtenRange ) 26{ 27SLANG_UNUSED (writtenRange ); 28return SLANG_FAIL ; 29} 30 31}// namespace d3d11 32}// namespace gfx