From b96f65be3135c61f37a095a17a1f5c3cb59852ea Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Wed, 9 Mar 2022 22:48:37 +0000 Subject: [PATCH] [dxbc] Use new [[fallthrough]] attribute --- src/dxbc/dxbc_compiler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dxbc/dxbc_compiler.cpp b/src/dxbc/dxbc_compiler.cpp index f4f3951e..27afccaa 100644 --- a/src/dxbc/dxbc_compiler.cpp +++ b/src/dxbc/dxbc_compiler.cpp @@ -404,7 +404,7 @@ namespace dxvk { case DxbcOperandType::InputControlPoint: if (m_programInfo.type() != DxbcProgramType::HullShader) break; - /* fall through */ + [[fallthrough]]; case DxbcOperandType::Input: case DxbcOperandType::Output: { @@ -1872,7 +1872,7 @@ namespace dxvk { case DxbcOpcode::Ne: case DxbcOpcode::DNe: invert = true; - /* fall through */ + [[fallthrough]]; case DxbcOpcode::Eq: case DxbcOpcode::DEq: