1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-05 01:24:14 +01:00

[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

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: