Browse Source

Minor fixes

Panagiotis Christopoulos Charitos 2 years ago
parent
commit
b61af7c5d6
2 changed files with 3 additions and 1 deletions
  1. 1 1
      AnKi/Core/App.cpp
  2. 2 0
      AnKi/ShaderCompiler/Dxc.cpp

+ 1 - 1
AnKi/Core/App.cpp

@@ -647,7 +647,7 @@ Error App::mainLoop()
 
 
 	if(ANKI_UNLIKELY(benchmarkMode))
 	if(ANKI_UNLIKELY(benchmarkMode))
 	{
 	{
-		ANKI_CORE_LOGI("Benchmark file saved it: %s", benchmarkCsvFileFilename.cstr());
+		ANKI_CORE_LOGI("Benchmark file saved in: %s", benchmarkCsvFileFilename.cstr());
 	}
 	}
 
 
 	return Error::kNone;
 	return Error::kNone;

+ 2 - 0
AnKi/ShaderCompiler/Dxc.cpp

@@ -109,6 +109,8 @@ Error compileHlslToSpirv(CString src, ShaderType shaderType, BaseMemoryPool& tmp
 		CString dxcBin = ANKI_SOURCE_DIRECTORY "/ThirdParty/Bin/Windows64/dxc.exe";
 		CString dxcBin = ANKI_SOURCE_DIRECTORY "/ThirdParty/Bin/Windows64/dxc.exe";
 #elif ANKI_OS_LINUX
 #elif ANKI_OS_LINUX
 		CString dxcBin = ANKI_SOURCE_DIRECTORY "/ThirdParty/Bin/Linux64/dxc";
 		CString dxcBin = ANKI_SOURCE_DIRECTORY "/ThirdParty/Bin/Linux64/dxc";
+#else
+		CString dxcBin = "N/A";
 #endif
 #endif
 
 
 		// Run once without stdout or stderr. Because if you do the process library will crap out after a while
 		// Run once without stdout or stderr. Because if you do the process library will crap out after a while