add new statistics for gpu buffer streaming

This commit is contained in:
degasus committed 2013-05-23 21:07:01 +02:00
1 parent 6a5e7d7be4
commit a51d6a6ddd
8 files changed
+21

No files matched your search

@@ -50,6 +50,8 @@ ID3D11Buffer* &VertexShaderCache::GetConstantBuffer()
memcpy(map.pData, vsconstants, sizeof(vsconstants));
D3D::context->Unmap(vscbuf, 0);
vscbufchanged = false;
ADDSTAT(stats.thisFrame.bytesUniformStreamed, sizeof(vsconstants));
}
return vscbuf;
}