Move uniform dirty-flag to gstate_c, opening up for other uses.
This commit is contained in:
parent
83b4be6848
commit
b423998c36
17 changed files with 331 additions and 324 deletions
|
@ -637,7 +637,7 @@ void DrawEngineVulkan::DoFlush(VkCommandBuffer cmd) {
|
|||
if (gstate_c.needShaderTexClamp) {
|
||||
// We will rarely need to set this, so let's do it every time on use rather than in runloop.
|
||||
// Most of the time non-framebuffer textures will be used which can be clamped themselves.
|
||||
shaderManager_->DirtyUniform(DIRTY_TEXCLAMP);
|
||||
gstate_c.DirtyUniform(DIRTY_TEXCLAMP);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue