Move uniform dirty-flag to gstate_c, opening up for other uses.

This commit is contained in:
Henrik Rydgard 2017-01-23 23:15:54 +01:00
parent 83b4be6848
commit b423998c36
17 changed files with 331 additions and 324 deletions

View file

@ -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);
}
}