summaryrefslogtreecommitdiffstats
path: root/tools/gfx/debug-layer.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2022-01-19 11:14:38 -0800
committerGitHub <noreply@github.com>2022-01-19 11:14:38 -0800
commitb40cd149c2038b0a429e46d60ddee5610e08b0ba (patch)
tree914f8661a7f7dd3566772536cab609bfbc592413 /tools/gfx/debug-layer.cpp
parent3b41c818a46cb7761e5a5f2878ceb76d9aef1a20 (diff)
More fixes to GFX d3d12. (#2084)
* Fixes to GFX. * Fix binding null resource views in d3d12. * Fix array render target view creation. * Add support for more primitive topologies. * More gfx fixes. * D3D12 feature report on conservative raster, programmable sample position, barycentrics and ROV. * Add QueryPool::reset. * Fix resource setDebugName. * Dynamically expanding GPU descriptor heap. * Render passes without render targets (null frame buffer). * Fix. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'tools/gfx/debug-layer.cpp')
-rw-r--r--tools/gfx/debug-layer.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gfx/debug-layer.cpp b/tools/gfx/debug-layer.cpp
index 63f1e6d43..83ef129c4 100644
--- a/tools/gfx/debug-layer.cpp
+++ b/tools/gfx/debug-layer.cpp
@@ -1810,6 +1810,12 @@ Result DebugQueryPool::getResult(SlangInt index, SlangInt count, uint64_t* data)
return baseObject->getResult(index, count, data);
}
+Result DebugQueryPool::reset()
+{
+ SLANG_GFX_API_FUNC;
+ return baseObject->reset();
+}
+
DeviceAddress DebugAccelerationStructure::getDeviceAddress()
{
SLANG_GFX_API_FUNC;