From d9443d670ef8413971fe7c3f02368b60a7fc5904 Mon Sep 17 00:00:00 2001 From: Simon Kallweit Date: Mon, 27 May 2024 06:03:13 -0700 Subject: [gfx] metal backend skeleton (#4223) * add metal-cpp submodule * add metal-cpp cmake target * gfx metal backend skeleton * add premake support * add foundation framework * add metal-cpp include to premake * update vs project file --------- Co-authored-by: Simon Kallweit Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> --- tools/gfx/metal/metal-query.cpp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tools/gfx/metal/metal-query.cpp (limited to 'tools/gfx/metal/metal-query.cpp') diff --git a/tools/gfx/metal/metal-query.cpp b/tools/gfx/metal/metal-query.cpp new file mode 100644 index 000000000..bfed117c6 --- /dev/null +++ b/tools/gfx/metal/metal-query.cpp @@ -0,0 +1,28 @@ +// metal-query.cpp +#include "metal-query.h" + +//#include "metal-util.h" + +namespace gfx +{ + +using namespace Slang; + +namespace metal +{ +Result QueryPoolImpl::init(const IQueryPool::Desc& desc, DeviceImpl* device) +{ + return SLANG_E_NOT_IMPLEMENTED; +} + +QueryPoolImpl::~QueryPoolImpl() +{ +} + +Result QueryPoolImpl::getResult(GfxIndex index, GfxCount count, uint64_t* data) +{ + return SLANG_E_NOT_IMPLEMENTED; +} + +} // namespace metal +} // namespace gfx -- cgit v1.2.3