summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2021-02-19 10:11:01 -0800
committerGitHub <noreply@github.com>2021-02-19 10:11:01 -0800
commit5f7dc28a6d139487bab4ce61a60f12b3c53b6265 (patch)
tree6a018f40e1c8aef26b08965cc93f545803318517 /examples
parent22fe1dfed3ee6e1d0d00f0cb08b6549f771ef5cf (diff)
Make gfx library visible to external user. (#1719)
* Make gfx library visible to external user. * Fixup
Diffstat (limited to 'examples')
-rw-r--r--examples/gpu-printing/main.cpp2
-rw-r--r--examples/hello-world/main.cpp2
-rw-r--r--examples/heterogeneous-hello-world/main.cpp2
-rw-r--r--examples/model-viewer/main.cpp2
-rw-r--r--examples/shader-object/main.cpp2
-rw-r--r--examples/shader-toy/main.cpp2
6 files changed, 6 insertions, 6 deletions
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 <slang-com-ptr.h>
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 <slang-com-ptr.h>
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"