Path: blob/master/thirdparty/glslang/patches/0001-apple-disable-absolute-paths.patch
9898 views
diff --git a/thirdparty/glslang/glslang/Include/InfoSink.h b/thirdparty/glslang/glslang/Include/InfoSink.h1index 23f495dcb7..137ede8510 1006442--- a/thirdparty/glslang/glslang/Include/InfoSink.h3+++ b/thirdparty/glslang/glslang/Include/InfoSink.h4@@ -36,7 +36,7 @@5#define _INFOSINK_INCLUDED_67#include "../Include/Common.h"8-#include <filesystem>9+//#include <filesystem>10#include <cmath>1112namespace glslang {13@@ -101,14 +101,14 @@ public:14snprintf(locText, maxSize, ":%d", loc.line);1516if(loc.getFilename() == nullptr && shaderFileName != nullptr && absolute) {17- append(std::filesystem::absolute(shaderFileName).string());18+ //append(std::filesystem::absolute(shaderFileName).string());19} else {20std::string location = loc.getStringNameOrNum(false);21- if (absolute) {22- append(std::filesystem::absolute(location).string());23- } else {24+ //if (absolute) {25+ // append(std::filesystem::absolute(location).string());26+ //} else {27append(location);28- }29+ //}30}3132append(locText);333435