summaryrefslogtreecommitdiffstats
path: root/source/slang/slang-stdlib.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-stdlib.cpp')
-rw-r--r--source/slang/slang-stdlib.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-stdlib.cpp b/source/slang/slang-stdlib.cpp
index 7fbd021b1..55b023a36 100644
--- a/source/slang/slang-stdlib.cpp
+++ b/source/slang/slang-stdlib.cpp
@@ -284,6 +284,7 @@ namespace Slang
};
// Integer types that can be used in atomic operations in CUDA.
+ [[maybe_unused]]
static const char* kCudaAtomicIntegerTypes[] = { "int", "uint", "uint64_t", "int64_t" };
// Both the following functions use these macros.
@@ -315,7 +316,6 @@ namespace Slang
const String path = getStdlibPath();
StringBuilder sb;
#include "hlsl.meta.slang.h"
- File::writeAllText("d:\\stdlib1.txt", sb.toString());
hlslLibraryCode = StringBlob::moveCreate(sb);
}
#endif