mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -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