From 12a846e8facf090aaeb68fcabf55867f5eaed747 Mon Sep 17 00:00:00 2001 From: lucy96chen <47800040+lucy96chen@users.noreply.github.com> Date: Thu, 4 Aug 2022 16:59:28 -0700 Subject: Split debug-layer into smaller files (#2344) * checkpoint commit * debug-layer split, does not compile * Almost compiles, rebasing before making any further changes * everything compiles and passes tests locally * Added tools/gfx/debug-layer to premake and ran premake Co-authored-by: Yong He --- tools/gfx/render.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/gfx/render.cpp') diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp index 2ec163469..b508e0fe8 100644 --- a/tools/gfx/render.cpp +++ b/tools/gfx/render.cpp @@ -2,7 +2,7 @@ #include "renderer-shared.h" #include "../../source/core/slang-math.h" #include "open-gl/render-gl.h" -#include "debug-layer.h" +#include "debug-layer/debug-device.h" #include @@ -309,7 +309,7 @@ extern "C" returnComPtr(outDevice, innerDevice); return resultCode; } - RefPtr debugDevice = new DebugDevice(); + RefPtr debugDevice = new debug::DebugDevice(); debugDevice->baseObject = innerDevice; returnComPtr(outDevice, debugDevice); return resultCode; -- cgit v1.2.3