yuzu-emu
/
yuzu
Archived
1
0
Fork 0

buffer_cache: Invalidate fast buffers on compute

This commit is contained in:
ReinUsesLisp 2021-06-14 04:32:45 -03:00 committed by ameerj
parent 61cd7dd301
commit 94e751f415
1 changed files with 1 additions and 0 deletions

View File

@ -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) {