Raytracing API (#128)

* start

* fix gpu hang

* rtao working

* better support for dynamic tlas

* shader updates

* project structure update

* appveyor build update

* improved acceleration build config

* updated build configuration

* updates

* updates

* acceleration structure build fixes

* minor fixes

* version bump
This commit is contained in:
Turánszki János
2020-06-20 23:19:41 +01:00
committed by GitHub
parent cafc4ba4dd
commit ea52f660e1
42 changed files with 1721 additions and 442 deletions
+12 -5
View File
@@ -214,13 +214,20 @@ namespace wiHelper
#ifdef _WIN32
#include <direct.h>
std::string workingdir = std::string(_getcwd(NULL, 0)) + "/";
#else
std::string workingdir = ""; // TODO
#endif
const std::string __originalWorkingDir = workingdir;
#endif // _WIN32
static std::string workingdir;
static std::string __originalWorkingDir;
string GetOriginalWorkingDirectory()
{
static bool init = false;
if (!init)
{
init = true;
#ifdef _WIN32
workingdir = std::string(_getcwd(NULL, 0)) + "/";
#endif // _WIN32
__originalWorkingDir = workingdir;
}
return __originalWorkingDir;
}