summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp15
1 files changed, 13 insertions, 2 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index 2855ee2f4..b0b3ae30b 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -843,6 +843,17 @@ const char* DebugBufferResource::getDebugName()
return baseObject->getDebugName();
}
+Result DebugBufferResource::map(MemoryRange* rangeToRead, void** outPointer)
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->map(rangeToRead, outPointer);
+}
+
+Result DebugBufferResource::unmap(MemoryRange* writtenRange)
+{
+ return baseObject->unmap(writtenRange);
+}
+
IResource::Type DebugTextureResource::getType()
{
SLANG_GFX_API_FUNC;
@@ -1435,8 +1446,8 @@ void DebugRayTracingCommandEncoder::deserializeAccelerationStructure(
void DebugRayTracingCommandEncoder::memoryBarrier(
int count,
IAccelerationStructure* const* structures,
- MemoryType::Enum sourceAccess,
- MemoryType::Enum destAccess)
+ AccessFlag sourceAccess,
+ AccessFlag destAccess)
{
SLANG_GFX_API_FUNC;
List<IAccelerationStructure*> innerAS;