diff options
author | vperus <vperus@gmail.com> | 2021-12-17 20:51:47 +0200 |
---|---|---|
committer | vperus <vperus@gmail.com> | 2021-12-17 20:51:47 +0200 |
commit | 11f4bf8a9afe109aaed0e53133781694a735e225 (patch) | |
tree | 059364422923d69de470c648f64e93cff5e7b262 /src/shader_recompiler/backend/glasm/reg_alloc.cpp | |
parent | 660c6bec22973ad3d4d5d53011c3d87f1f77e1df (diff) |
[input_common] Move variable declaration closer to usage
MSVC supplied with VS2022 generates "warning C4189: 'CALIBRATION_THRESHOLD':
local variable is initialized but not referenced" which is treated as an
error.
Circumvent it by moving constexpr variable directly into body of lambda function.
Diffstat (limited to 'src/shader_recompiler/backend/glasm/reg_alloc.cpp')
0 files changed, 0 insertions, 0 deletions