quiverteam / Engine

Modified Version of Source 2007
104 stars 29 forks source link

[DX11 Win32] Shadercompile_dll does not compile #92

Closed etkramer closed 3 years ago

etkramer commented 3 years ago

Unmodified DX11 branch - compiling for Win32 in Release configuration. All errors occur in shadercompile.cpp.

error C2433: 'ThisParallelProcessorBase_t': 'friend' not permitted on data declarations
message : see reference to class template instantiation 'CWorkerAccumState<TMutexType>' being compiled
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C2825: 'ThisParallelProcessorBase_t': must be a class or namespace when followed by '::'
error C2510: 'ThisParallelProcessorBase_t': left of '::' must be a class/struct/union
Demez commented 3 years ago

Switch it to C++14, also shadercompile_dll is useless on dx11 branch as shaders are compiled at run-time on dx11 due to shadercompile crashing on trying to compile them