2024-05-16 08:05:16 +00:00
|
|
|
diff --git a/thirdparty/glslang/glslang/Include/InfoSink.h b/thirdparty/glslang/glslang/Include/InfoSink.h
|
2024-06-05 21:05:59 +00:00
|
|
|
index 23f495dc..137ede85 100644
|
2024-05-16 08:05:16 +00:00
|
|
|
--- a/thirdparty/glslang/glslang/Include/InfoSink.h
|
|
|
|
+++ b/thirdparty/glslang/glslang/Include/InfoSink.h
|
2024-06-05 21:05:59 +00:00
|
|
|
@@ -36,7 +36,7 @@
|
|
|
|
#define _INFOSINK_INCLUDED_
|
|
|
|
|
|
|
|
#include "../Include/Common.h"
|
|
|
|
-#include <filesystem>
|
|
|
|
+//#include <filesystem>
|
|
|
|
#include <cmath>
|
|
|
|
|
|
|
|
namespace glslang {
|
2024-05-16 08:05:16 +00:00
|
|
|
@@ -101,14 +101,14 @@ public:
|
|
|
|
snprintf(locText, maxSize, ":%d", loc.line);
|
|
|
|
|
|
|
|
if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) {
|
|
|
|
- append(std::filesystem::absolute(shaderFileName).string());
|
|
|
|
+ //append(std::filesystem::absolute(shaderFileName).string());
|
|
|
|
} else {
|
|
|
|
std::string location = loc.getStringNameOrNum(false);
|
|
|
|
- if (absolute) {
|
|
|
|
- append(std::filesystem::absolute(location).string());
|
|
|
|
- } else {
|
|
|
|
+ //if (absolute) {
|
|
|
|
+ // append(std::filesystem::absolute(location).string());
|
|
|
|
+ //} else {
|
|
|
|
append(location);
|
|
|
|
- }
|
|
|
|
+ //}
|
|
|
|
}
|
|
|
|
|
|
|
|
append(locText);
|