1
0
Fork 0
forked from suyu/suyu
suyu/src/video_core
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
..
buffer_cache general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
command_classes common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
engines common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
host_shaders chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
macro general: fix compilation on MinGW GCC 12 2022-06-13 20:09:32 -04:00
renderer_opengl common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
renderer_vulkan vk_compute_pass: Explicitly cast to VkAccessFlags 2022-06-15 07:12:16 -04:00
texture_cache common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
textures common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
vulkan_common common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
cdma_pusher.cpp chore: add missing SPDX tags 2022-04-28 18:24:11 +02:00
cdma_pusher.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
CMakeLists.txt CMakeLists: Make variable shadowing a compile-time error 2022-06-13 18:19:23 -04:00
compatible_formats.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
compatible_formats.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
delayed_destruction_ring.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
dirty_flags.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
dirty_flags.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
dma_pusher.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
dma_pusher.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
fence_manager.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
framebuffer_config.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gpu.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gpu.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
gpu_thread.cpp common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
gpu_thread.h gpu_thread: Move to bounded queue 2022-06-02 19:37:46 -06:00
memory_manager.cpp common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
memory_manager.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
query_cache.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
rasterizer_accelerated.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
rasterizer_accelerated.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
rasterizer_interface.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
renderer_base.cpp bootmanager: Don't create another screenshot request if previous one is not done yet 2022-04-18 01:00:48 -05:00
renderer_base.h bootmanager: Don't create another screenshot request if previous one is not done yet 2022-04-18 01:00:48 -05:00
shader_cache.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
shader_cache.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
shader_environment.cpp common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
shader_environment.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
shader_notify.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
shader_notify.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
surface.cpp common: Change semantics of UNREACHABLE to unconditionally crash 2022-06-13 20:09:00 -04:00
surface.h video_core/surface: Use u8 for PixelFormat block tables 2022-05-13 00:51:11 -04:00
transform_feedback.cpp general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
transform_feedback.h general: Convert source file copyright comments over to SPDX 2022-04-23 05:55:32 -04:00
video_core.cpp video_core: Cancel Scoped's exit call on GPU failure 2022-03-07 18:21:56 -05:00
video_core.h Fix screenshot dimensions when at 1x scale 2021-11-20 17:50:24 -05:00