diff --git a/pcsx2/GS/GSRegs.h b/pcsx2/GS/GSRegs.h index 59ee096790..d3797a6c64 100644 --- a/pcsx2/GS/GSRegs.h +++ b/pcsx2/GS/GSRegs.h @@ -781,7 +781,7 @@ REG_END2 __forceinline bool DoFirstPass() const { return !ATE || ATST != ATST_NEVER; } // not all pixels fail automatically __forceinline bool DoSecondPass() const { return ATE && ATST != ATST_ALWAYS && AFAIL != AFAIL_KEEP; } // pixels may fail, write fb/z __forceinline bool NoSecondPass() const { return ATE && ATST != ATST_ALWAYS && AFAIL == AFAIL_KEEP; } // pixels may fail, no output - __forceinline u32 GetAFAIL(u32 fpsm) const { return (AFAIL == AFAIL_RGB_ONLY && (fpsm & 0xF) != 0) ? AFAIL_FB_ONLY : AFAIL; } // FB Only when not 32bit Framebuffer + __forceinline u32 GetAFAIL(u32 fpsm) const { return (AFAIL == AFAIL_RGB_ONLY && (fpsm & 0xF) != 0) ? static_cast(AFAIL_FB_ONLY) : AFAIL; } // FB Only when not 32bit Framebuffer REG_END2 REG64_(GIFReg, TEX0) diff --git a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp index 2aeeb678cc..852d6267e7 100644 --- a/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp +++ b/pcsx2/GS/Renderers/Vulkan/GSDeviceVK.cpp @@ -5716,7 +5716,7 @@ void GSDeviceVK::RenderHW(GSHWDrawConfig& config) // If this is the first draw to the target as a feedback loop, make sure we re-generate the texture descriptor. // Otherwise, we might have a previous descriptor left over, that has the RT in a different state. - m_dirty_flags |= (skip_first_barrier ? DIRTY_FLAG_TFX_TEXTURE_RT : 0); + m_dirty_flags |= (skip_first_barrier ? static_cast(DIRTY_FLAG_TFX_TEXTURE_RT) : 0); } // Begin render pass if new target or out of the area.