mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 20:30:08 +00:00
buffer_cache: Invalidate fast buffers on compute
This commit is contained in:
parent
61cd7dd301
commit
94e751f415
@ -1132,6 +1132,7 @@ void BufferCache<P>::BindHostComputeUniformBuffers() {
|
|||||||
if constexpr (HAS_PERSISTENT_UNIFORM_BUFFER_BINDINGS) {
|
if constexpr (HAS_PERSISTENT_UNIFORM_BUFFER_BINDINGS) {
|
||||||
// Mark all uniform buffers as dirty
|
// Mark all uniform buffers as dirty
|
||||||
dirty_uniform_buffers.fill(~u32{0});
|
dirty_uniform_buffers.fill(~u32{0});
|
||||||
|
fast_bound_uniform_buffers.fill(0);
|
||||||
}
|
}
|
||||||
u32 binding_index = 0;
|
u32 binding_index = 0;
|
||||||
ForEachEnabledBit(enabled_compute_uniform_buffer_mask, [&](u32 index) {
|
ForEachEnabledBit(enabled_compute_uniform_buffer_mask, [&](u32 index) {
|
||||||
|
Loading…
Reference in New Issue
Block a user