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: