mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Add in UBOs, doesn't work yet. Still debugging here.
This commit is contained in:
parent
5f0f26ef35
commit
4a84c6f742
12 changed files with 138 additions and 49 deletions
|
@ -231,7 +231,8 @@ void VertexManager::vFlush()
|
|||
if(g_ActiveConfig.bUseGLSL)
|
||||
{
|
||||
ProgramShaderCache::SetBothShaders(ps->glprogid, 0);
|
||||
PixelShaderManager::SetConstants(); // Need to set these again
|
||||
if(!g_ActiveConfig.backend_info.bSupportsGLSLUBO)
|
||||
PixelShaderManager::SetConstants(); // Need to set these again, if we don't support UBO
|
||||
if (g_nativeVertexFmt)
|
||||
g_nativeVertexFmt->SetupVertexPointers();
|
||||
for (int i = 0; i < 8; i++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue