This pull request should fix saving of intermediate effect source files when the effect file is stored in a subdirectory.
Without this patch enabling "Save source code when parsing effects" results in an error like this |error|Win32Utils.cpp:bool __cdecl Win32Utils::WriteFile(const wchar_t *,const void *,unsigned __int64) noexcept|打开文件 sources\**\*.hlsl 失败 in the log when the effect is not stored in the root of the Effects directory tree.
This pull request should fix saving of intermediate effect source files when the effect file is stored in a subdirectory.
Without this patch enabling "Save source code when parsing effects" results in an error like this
|error|Win32Utils.cpp:bool __cdecl Win32Utils::WriteFile(const wchar_t *,const void *,unsigned __int64) noexcept|打开文件 sources\**\*.hlsl 失败
in the log when the effect is not stored in the root of theEffects
directory tree.