diff options
Diffstat (limited to 'tools/gfx/cpu/cpu-query.h')
| -rw-r--r-- | tools/gfx/cpu/cpu-query.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/gfx/cpu/cpu-query.h b/tools/gfx/cpu/cpu-query.h new file mode 100644 index 000000000..172dcea41 --- /dev/null +++ b/tools/gfx/cpu/cpu-query.h @@ -0,0 +1,22 @@ +// cpu-query.h +#pragma once +#include "cpu-base.h" + +namespace gfx +{ +using namespace Slang; + +namespace cpu +{ + +class QueryPoolImpl : public QueryPoolBase +{ +public: + List<uint64_t> m_queries; + Result init(const IQueryPool::Desc& desc); + virtual SLANG_NO_THROW Result SLANG_MCALL getResult( + GfxIndex queryIndex, GfxCount count, uint64_t* data) override; +}; + +} // namespace cpu +} // namespace gfx |
