summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_vulkan
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-04-24 02:24:30 +0200
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:29 +0200
commit8fda599a316b7b3a5e017cb01db1e9c021ce7654 (patch)
tree2c807b1917869c520f556b235cd17e095950f509 /src/video_core/renderer_vulkan
parentshader: Fix error checking in bitfieldExtract and implement bitfieldInsert folding (diff)
downloadyuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.tar
yuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.tar.gz
yuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.tar.bz2
yuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.tar.lz
yuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.tar.xz
yuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.tar.zst
yuzu-8fda599a316b7b3a5e017cb01db1e9c021ce7654.zip
Diffstat (limited to 'src/video_core/renderer_vulkan')
-rw-r--r--src/video_core/renderer_vulkan/vk_compute_pipeline.cpp2
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 6611c1de3..990ead575 100644
--- a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp
+++ b/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp
@@ -136,7 +136,7 @@ void ComputePipeline::Configure(Tegra::Engines::KeplerCompute& kepler_compute,
ImageId* texture_buffer_ids{image_view_ids.data()};
size_t index{};
const auto add_buffer{[&](const auto& desc) {
- for (u32 i = 0; index < desc.count; ++i) {
+ for (u32 i = 0; i < desc.count; ++i) {
bool is_written{false};
if constexpr (std::is_same_v<decltype(desc), const Shader::ImageBufferDescriptor&>) {
is_written = desc.is_written;