1
0
mirror of https://github.com/EduApps-CDG/OpenDX synced 2024-12-30 09:45:37 +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: case DxbcOperandType::InputControlPoint:
if (m_programInfo.type() != DxbcProgramType::HullShader) if (m_programInfo.type() != DxbcProgramType::HullShader)
break; break;
/* fall through */ [[fallthrough]];
case DxbcOperandType::Input: case DxbcOperandType::Input:
case DxbcOperandType::Output: { case DxbcOperandType::Output: {
@ -1872,7 +1872,7 @@ namespace dxvk {
case DxbcOpcode::Ne: case DxbcOpcode::Ne:
case DxbcOpcode::DNe: case DxbcOpcode::DNe:
invert = true; invert = true;
/* fall through */ [[fallthrough]];
case DxbcOpcode::Eq: case DxbcOpcode::Eq:
case DxbcOpcode::DEq: case DxbcOpcode::DEq: