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:
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)
|
||||
|
||||
Reference in new issue
Block a user