diff options
| author | Ellie Hermaszewska <ellieh@nvidia.com> | 2024-11-14 12:34:18 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 20:34:18 -0800 |
| commit | 7b570feed42976a6e787d79a70aaf8e667745e58 (patch) | |
| tree | 7f96139f9570de1e2c5747faf6ad489e029de535 /tools/gfx | |
| parent | fdf106b543c756eebca7e90fe839fdf1902cc381 (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/gfx')
| -rw-r--r-- | tools/gfx/metal/metal-device.cpp | 2 | ||||
| -rw-r--r-- | tools/gfx/open-gl/render-gl.cpp | 2 | ||||
| -rw-r--r-- | tools/gfx/transient-resource-heap-base.h | 2 | ||||
| -rw-r--r-- | tools/gfx/vulkan/vk-device.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tools/gfx/metal/metal-device.cpp b/tools/gfx/metal/metal-device.cpp index a536f64ff..623cd8a81 100644 --- a/tools/gfx/metal/metal-device.cpp +++ b/tools/gfx/metal/metal-device.cpp @@ -21,7 +21,7 @@ // #include "metal-pipeline-dump-layer.h" // #include "metal-helper-functions.h" -#include "source/core/slang-platform.h" +#include "core/slang-platform.h" namespace gfx { diff --git a/tools/gfx/open-gl/render-gl.cpp b/tools/gfx/open-gl/render-gl.cpp index 9af39f711..5bbee254d 100644 --- a/tools/gfx/open-gl/render-gl.cpp +++ b/tools/gfx/open-gl/render-gl.cpp @@ -7,7 +7,7 @@ #include "core/slang-basic.h" #include "core/slang-blob.h" #include "core/slang-secure-crt.h" -#include "external/stb/stb_image_write.h" +#include "stb_image_write.h" #if SLANG_WIN64 || SLANG_WIN64 #define ENABLE_GL_IMPL 1 diff --git a/tools/gfx/transient-resource-heap-base.h b/tools/gfx/transient-resource-heap-base.h index 9d7cb165a..d99d84697 100644 --- a/tools/gfx/transient-resource-heap-base.h +++ b/tools/gfx/transient-resource-heap-base.h @@ -1,5 +1,5 @@ +#include "core/slang-basic.h" #include "renderer-shared.h" -#include "source/core/slang-basic.h" namespace gfx { diff --git a/tools/gfx/vulkan/vk-device.cpp b/tools/gfx/vulkan/vk-device.cpp index 689213437..61edf53b9 100644 --- a/tools/gfx/vulkan/vk-device.cpp +++ b/tools/gfx/vulkan/vk-device.cpp @@ -1,7 +1,7 @@ // vk-device.cpp #include "vk-device.h" -#include "source/core/slang-platform.h" +#include "core/slang-platform.h" #include "vk-buffer.h" #include "vk-command-queue.h" #include "vk-fence.h" |
