upload complete uniform buffer at once

this is the way of dx11. it would upload more per draw, but uses less calls.
will be faster if many uniforms are changed, but slower else
This commit is contained in:
degasus committed 2013-01-14 13:58:11 +01:00
1 parent b18c0a5d1b
commit c3aafc77b3
3 files changed
+27 -5

No files matched your search

@@ -208,6 +208,7 @@ void VertexManager::vFlush()
// set global constants
VertexShaderManager::SetConstants();
PixelShaderManager::SetConstants();
ProgramShaderCache::UploadConstants();
// setup the pointers
if (g_nativeVertexFmt)