yum-mirror/slang

Making it easier to work with shaders

git clone https://git.yummers.dev/yum-mirror/slang

Ellie Hermaszewskaformatf65d756bf

master
403 B22 linesraw
1// cpu-query.h
2#pragma once
3#include "cpu-base.h"
4
5namespace gfx
6{
7using namespace Slang;
8
9namespace cpu
10{
11
12class QueryPoolImpl : public QueryPoolBase
13{
14public:
15    List<uint64_t> m_queries;
16    Result init(const IQueryPool::Desc& desc);
17    virtual SLANG_NO_THROW Result SLANG_MCALL
18    getResult(GfxIndex queryIndex, GfxCount count, uint64_t* data) override;
19};
20
21} // namespace cpu
22} // namespace gfx