diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-06-14 09:32:45 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:35 +0200 |
commit | 94e751f415d70fe255eada77c4385ec966c07a95 (patch) | |
tree | 8925a46bde6c57aec536e753ccb190adec62d90a /src/video_core/buffer_cache | |
parent | shader: Add logging (diff) | |
download | yuzu-94e751f415d70fe255eada77c4385ec966c07a95.tar yuzu-94e751f415d70fe255eada77c4385ec966c07a95.tar.gz yuzu-94e751f415d70fe255eada77c4385ec966c07a95.tar.bz2 yuzu-94e751f415d70fe255eada77c4385ec966c07a95.tar.lz yuzu-94e751f415d70fe255eada77c4385ec966c07a95.tar.xz yuzu-94e751f415d70fe255eada77c4385ec966c07a95.tar.zst yuzu-94e751f415d70fe255eada77c4385ec966c07a95.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/buffer_cache/buffer_cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.h index 47cb0a47d..d004199ba 100644 --- a/src/video_core/buffer_cache/buffer_cache.h +++ b/src/video_core/buffer_cache/buffer_cache.h @@ -1132,6 +1132,7 @@ void BufferCache<P>::BindHostComputeUniformBuffers() { if constexpr (HAS_PERSISTENT_UNIFORM_BUFFER_BINDINGS) { // Mark all uniform buffers as dirty dirty_uniform_buffers.fill(~u32{0}); + fast_bound_uniform_buffers.fill(0); } u32 binding_index = 0; ForEachEnabledBit(enabled_compute_uniform_buffer_mask, [&](u32 index) { |