From 5f7dc28a6d139487bab4ce61a60f12b3c53b6265 Mon Sep 17 00:00:00 2001 From: Yong He Date: Fri, 19 Feb 2021 10:11:01 -0800 Subject: Make gfx library visible to external user. (#1719) * Make gfx library visible to external user. * Fixup --- examples/gpu-printing/main.cpp | 2 +- examples/hello-world/main.cpp | 2 +- examples/heterogeneous-hello-world/main.cpp | 2 +- examples/model-viewer/main.cpp | 2 +- examples/shader-object/main.cpp | 2 +- examples/shader-toy/main.cpp | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'examples') diff --git a/examples/gpu-printing/main.cpp b/examples/gpu-printing/main.cpp index 8dc0b0f3d..63b1939a6 100644 --- a/examples/gpu-printing/main.cpp +++ b/examples/gpu-printing/main.cpp @@ -5,7 +5,7 @@ #include using Slang::ComPtr; -#include "gfx/render.h" +#include "slang-gfx.h" #include "tools/graphics-app-framework/window.h" #include "source/core/slang-basic.h" using namespace gfx; diff --git a/examples/hello-world/main.cpp b/examples/hello-world/main.cpp index 91c9c0627..49fe2ec67 100644 --- a/examples/hello-world/main.cpp +++ b/examples/hello-world/main.cpp @@ -32,7 +32,7 @@ // with Slang may depend on an application/engine making certain // design choices in their abstraction layer. // -#include "gfx/render.h" +#include "slang-gfx.h" #include "gfx-util/shader-cursor.h" #include "tools/graphics-app-framework/window.h" #include "slang-com-ptr.h" diff --git a/examples/heterogeneous-hello-world/main.cpp b/examples/heterogeneous-hello-world/main.cpp index 163b17deb..ff44ecc45 100644 --- a/examples/heterogeneous-hello-world/main.cpp +++ b/examples/heterogeneous-hello-world/main.cpp @@ -33,7 +33,7 @@ // design choices in their abstraction layer. // #include "slang-com-ptr.h" -#include "gfx/render.h" +#include "slang-gfx.h" #include "tools/graphics-app-framework/window.h" #include "../../prelude/slang-cpp-types.h" #include "source/core/slang-basic.h" diff --git a/examples/model-viewer/main.cpp b/examples/model-viewer/main.cpp index f830d4044..f18a2cc58 100644 --- a/examples/model-viewer/main.cpp +++ b/examples/model-viewer/main.cpp @@ -17,7 +17,7 @@ // layer, just to keep the examples short and to the point. // #include "graphics-app-framework/model.h" -#include "gfx/render.h" +#include "slang-gfx.h" #include "graphics-app-framework/vector-math.h" #include "graphics-app-framework/window.h" #include "graphics-app-framework/gui.h" diff --git a/examples/shader-object/main.cpp b/examples/shader-object/main.cpp index 88ae24393..b61cf30e4 100644 --- a/examples/shader-object/main.cpp +++ b/examples/shader-object/main.cpp @@ -12,7 +12,7 @@ #include using Slang::ComPtr; -#include "gfx/render.h" +#include "slang-gfx.h" #include "gfx-util/shader-cursor.h" #include "source/core/slang-basic.h" diff --git a/examples/shader-toy/main.cpp b/examples/shader-toy/main.cpp index 2bbc59113..89aa74ccb 100644 --- a/examples/shader-toy/main.cpp +++ b/examples/shader-toy/main.cpp @@ -19,7 +19,7 @@ using Slang::ComPtr; // this layer is *not* required or assumed when using the Slang language, // compiler, and API. // -#include "gfx/render.h" +#include "slang-gfx.h" #include "tools/graphics-app-framework/window.h" #include "source/core/slang-basic.h" -- cgit v1.2.3