Remove logging of async shader compilation times and remove unused include

master
palana 2014-03-11 19:29:37 +01:00
parent 8053f5abb4
commit 931afd8f16
1 changed files with 0 additions and 5 deletions

View File

@ -24,7 +24,6 @@
#include <map>
#include <memory>
#include <string>
#include <vector>
using namespace std;
@ -120,16 +119,12 @@ DWORD STDCALL CreatePixelShaderThread(void *arg)
{
FutureShaderContainer::FutureShaderContext &c = *(FutureShaderContainer::FutureShaderContext*)arg;
QWORD start = GetQPCTime100NS();
c.shader.reset(GS->CreatePixelShaderFromFile(c.fileName.c_str()));
c.sharedShader = c.shader.get();
SetEvent(c.readyEvent.get());
Log(L"Compilation for %s took %llu", c.fileName.c_str(), (GetQPCTime100NS() - start) / 10000);
return 0;
}