1
0
Fork 0
forked from suyu/suyu
suyu/src
Morph 4572634a4e vk_compute_pass: Explicitly cast to VkAccessFlags
According to the standard, a narrowing conversion is an implicit conversion from an integer or unscoped enumeration type to an integer type that cannot represent all the values of the original type, except when the value is a literal or constant expression.
MSVC, unlike GCC or Clang, determines this to be a narrowing conversion despite the enumeration exclusively containing values that fit within the range of a 32 bit integer, emitting a warning since designated initializers prohibit narrowing conversions.
To solve this, explicitly cast to the type we are initializing.
2022-06-15 07:12:16 -04:00
..
audio_core Merge pull request #8383 from Morph1984/shadow-of-the-past 2022-06-14 21:08:58 -04:00
common Merge pull request #8383 from Morph1984/shadow-of-the-past 2022-06-14 21:08:58 -04:00
core Merge pull request #8383 from Morph1984/shadow-of-the-past 2022-06-14 21:08:58 -04:00
input_common Merge pull request #8383 from Morph1984/shadow-of-the-past 2022-06-14 21:08:58 -04:00
shader_recompiler Merge pull request #8383 from Morph1984/shadow-of-the-past 2022-06-14 21:08:58 -04:00
tests chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
video_core vk_compute_pass: Explicitly cast to VkAccessFlags 2022-06-15 07:12:16 -04:00
web_service web_service: Eliminate variable shadowing 2022-06-13 18:19:22 -04:00
yuzu Merge pull request #8383 from Morph1984/shadow-of-the-past 2022-06-14 21:08:58 -04:00
yuzu_cmd yuzu_cmd: Eliminate variable shadowing 2022-06-13 18:19:23 -04:00
.clang-format
CMakeLists.txt CMakeLists: Make variable shadowing a compile-time error 2022-06-13 18:19:23 -04:00