mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-05 06:21:26 +12:00
vk/rtts: Account for corner case where the same texture can be bound to more than 1 slot
This commit is contained in:
parent
110c20d25f
commit
b13165f95a
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ namespace vk
|
||||||
|
|
||||||
void on_insert_draw_barrier()
|
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()
|
void allow_skip()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue