diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-04-06 10:52:41 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:26 +0200 |
commit | ef885522243ff966a0b25a35ad590862ff31e03a (patch) | |
tree | 87570d2268bcdc13db8e60604d45b0ddc5b8481b /src | |
parent | shader: Implement texture buffers (diff) | |
download | yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.tar yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.tar.gz yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.tar.bz2 yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.tar.lz yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.tar.xz yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.tar.zst yuzu-ef885522243ff966a0b25a35ad590862ff31e03a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/shader_recompiler/backend/spirv/emit_spirv_image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp index 525f67c6e..f0f8db8c3 100644 --- a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp +++ b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp @@ -77,7 +77,7 @@ public: } boost::container::static_vector<Id, 3> deriv_x_accum; boost::container::static_vector<Id, 3> deriv_y_accum; - for (size_t i = 0; i < num_derivates; i++) { + for (u32 i = 0; i < num_derivates; ++i) { deriv_x_accum.push_back(ctx.OpCompositeExtract(ctx.F32[1], derivates, i * 2)); deriv_y_accum.push_back(ctx.OpCompositeExtract(ctx.F32[1], derivates, i * 2 + 1)); } |