Browse Source

Some linux fixes

Panagiotis Christopoulos Charitos 2 years ago
parent
commit
b29d89e524

+ 2 - 2
AnKi/Gr/RenderGraph.h

@@ -591,11 +591,11 @@ private:
 		}
 		else if(offsetA <= offsetB)
 		{
-			return offsetA + rangeA >= offsetB;
+			return offsetA + rangeA > offsetB;
 		}
 		else
 		{
-			return offsetB + rangeB >= offsetA;
+			return offsetB + rangeB > offsetA;
 		}
 	}
 };

+ 3 - 0
AnKi/Shaders/Include/Common.h

@@ -54,6 +54,9 @@ ANKI_END_NAMESPACE
 
 #	define constexpr static const
 
+// Workaround until DXC fixes a bug
+#	define nointerpolation
+
 template<typename T>
 void maybeUnused(T a)
 {

+ 1 - 1
AnKi/Util/HighRezTimer.h

@@ -35,7 +35,7 @@ public:
 	static ANKI_PURE U64 getCurrentTimeUs();
 
 	/// Micro sleep. The resolution is in nanoseconds.
-	static ANKI_PURE void sleep(Second seconds);
+	static void sleep(Second seconds);
 
 private:
 	Second m_startTime = 0.0;

BIN
ThirdParty/Bin/Linux64/dxc.bin


BIN
ThirdParty/Bin/Linux64/libdxcompiler.so