diff options
Diffstat (limited to 'Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp')
| -rw-r--r-- | Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp index bc5004d0c2..a2bdd360c2 100644 --- a/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp +++ b/Source/Plugins/Plugin_VideoDX11/Src/PixelShaderCache.cpp @@ -345,6 +345,8 @@ ID3D11Buffer* &PixelShaderCache::GetConstantBuffer() memcpy(map.pData, psconstants, sizeof(psconstants)); D3D::context->Unmap(pscbuf, 0); pscbufchanged = false; + + ADDSTAT(stats.thisFrame.bytesUniformStreamed, sizeof(psconstants)); } return pscbuf; } |
