[dxbc] Use new [[fallthrough]] attribute

This commit is contained in:
Joshua Ashton 2022-03-09 22:48:37 +00:00 committed by Philip Rebohle
parent 63bd41f785
commit b96f65be31
1 changed files with 2 additions and 2 deletions

View File

@ -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: