vk/rtts: Account for corner case where the same texture can be bound to more than 1 slot

This commit is contained in:
kd-11
2022-12-28 11:58:42 +03:00
committed by kd-11
parent 110c20d25f
commit b13165f95a
+2 -1
View File
@@ -39,7 +39,8 @@ namespace vk
void on_insert_draw_barrier()
{
m_draw_barrier_count++;
// Account for corner case where the same texture can be bound to more than 1 slot
m_draw_barrier_count = m_texture_barrier_count;
}
void allow_skip()