summaryrefslogtreecommitdiffstats
path: root/tools/render-test
diff options
context:
space:
mode:
authorEllie Hermaszewska <ellieh@nvidia.com>2024-11-14 12:34:18 +0800
committerGitHub <noreply@github.com>2024-11-13 20:34:18 -0800
commit7b570feed42976a6e787d79a70aaf8e667745e58 (patch)
tree7f96139f9570de1e2c5747faf6ad489e029de535 /tools/render-test
parentfdf106b543c756eebca7e90fe839fdf1902cc381 (diff)
Correct include dir for libslang (#5539)
This stops adding the repo root to the include path for anything linking with slang. This enabled a bunch of convenient includes, but might lead to confusing behavior for anyone including slang. Not to mention differences including it from an install vs source. Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'tools/render-test')
-rw-r--r--tools/render-test/png-serialize-util.cpp2
-rw-r--r--tools/render-test/shader-input-layout.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/tools/render-test/png-serialize-util.cpp b/tools/render-test/png-serialize-util.cpp
index 8a649ee87..15aaba00b 100644
--- a/tools/render-test/png-serialize-util.cpp
+++ b/tools/render-test/png-serialize-util.cpp
@@ -7,7 +7,7 @@
#include <stdlib.h>
#define STB_IMAGE_WRITE_IMPLEMENTATION
-#include "external/stb/stb_image_write.h"
+#include "stb_image_write.h"
namespace renderer_test
{
diff --git a/tools/render-test/shader-input-layout.h b/tools/render-test/shader-input-layout.h
index 032e6019d..187cc0b84 100644
--- a/tools/render-test/shader-input-layout.h
+++ b/tools/render-test/shader-input-layout.h
@@ -1,9 +1,9 @@
#ifndef SLANG_TEST_SHADER_INPUT_LAYOUT_H
#define SLANG_TEST_SHADER_INPUT_LAYOUT_H
-#include "source/core/slang-basic.h"
-#include "source/core/slang-random-generator.h"
-#include "source/core/slang-writer.h"
+#include "core/slang-basic.h"
+#include "core/slang-random-generator.h"
+#include "core/slang-writer.h"
#include <slang-rhi.h>