aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/shader/decode.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-04-22 21:36:05 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-04-22 21:36:05 -0300
commitd9463f45622c74dff1a775e7d547cf44e627e65e (patch)
treeca32dbf10eb8eb71567731a4e449200d5286ff85 /src/video_core/shader/decode.cpp
parent5ed13304e17aa572f2d9605fe78dc61615dadec6 (diff)
vk_pipeline_cache: Fix unintentional memcpy into optional
The intention behind this was to assign a float to from an uint32_t, but it was unintentionally being copied directly into the std::optional. Copy to a temporary and assign that temporary to std::optional. This can be replaced with std::bit_cast<float> once we are in C++20.
Diffstat (limited to 'src/video_core/shader/decode.cpp')
0 files changed, 0 insertions, 0 deletions