diff options
author | FernandoS27 <fsahmkow27@gmail.com> | 2021-04-01 09:21:53 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:25 +0200 |
commit | 12f5f320985824d1ebad587ebecb0f8406143ebc (patch) | |
tree | cce9a7c14619350d578a262a6a23da6b0c9461d6 /src/video_core/renderer_vulkan/vk_compute_pipeline.cpp | |
parent | shader: Implement ViewportIndex (diff) | |
download | yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.tar yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.tar.gz yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.tar.bz2 yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.tar.lz yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.tar.xz yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.tar.zst yuzu-12f5f320985824d1ebad587ebecb0f8406143ebc.zip |
Diffstat (limited to 'src/video_core/renderer_vulkan/vk_compute_pipeline.cpp')
-rw-r--r-- | src/video_core/renderer_vulkan/vk_compute_pipeline.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp b/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp index fb19bb4b9..6707842ab 100644 --- a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp +++ b/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp @@ -75,7 +75,7 @@ void ComputePipeline::Configure(Tegra::Engines::KeplerCompute& kepler_compute, size_t ssbo_index{}; for (const auto& desc : info.storage_buffers_descriptors) { ASSERT(desc.count == 1); - buffer_cache.BindComputeStorageBuffer(ssbo_index, desc.cbuf_index, desc.cbuf_offset, true); + buffer_cache.BindComputeStorageBuffer(ssbo_index, desc.cbuf_index, desc.cbuf_offset, desc.is_written); ++ssbo_index; } buffer_cache.UpdateComputeBuffers(); |