summaryrefslogtreecommitdiffstats
path: root/tools/gfx/cpu/render-cpu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/cpu/render-cpu.cpp')
-rw-r--r--tools/gfx/cpu/render-cpu.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/gfx/cpu/render-cpu.cpp b/tools/gfx/cpu/render-cpu.cpp
index ac8b612fb..f635cf727 100644
--- a/tools/gfx/cpu/render-cpu.cpp
+++ b/tools/gfx/cpu/render-cpu.cpp
@@ -1132,6 +1132,7 @@ public:
static const float kIdentity[] = {1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1};
::memcpy(m_info.identityProjectionMatrix, kIdentity, sizeof(kIdentity));
m_info.adapterName = "CPU";
+ m_info.timestampFrequency = 1000000000;
}
return SLANG_OK;
@@ -1259,6 +1260,7 @@ public:
const IQueryPool::Desc& desc, IQueryPool** outPool) override
{
RefPtr<CPUQueryPool> pool = new CPUQueryPool();
+ pool->init(desc);
returnComPtr(outPool, pool);
return SLANG_OK;
}