Skip to content

Commit 3547cb0

Browse files
Copilotdamyanp
andauthored
Remove unused static CheckLinalgInterpretation from DxilValidation.cpp
Co-authored-by: damyanp <[email protected]> Agent-Logs-Url: https://github.com/damyanp/DirectXShaderCompiler/sessions/642f795d-d640-402b-87aa-006061deda85
1 parent 25f5019 commit 3547cb0

1 file changed

Lines changed: 0 additions & 22 deletions

File tree

lib/DxilValidation/DxilValidation.cpp

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -974,28 +974,6 @@ static void ValidateImmOperandForMathDxilOp(CallInst *CI, DXIL::OpCode Opcode,
974974
}
975975
}
976976

977-
static bool CheckLinalgInterpretation(uint32_t Input, bool InRegister) {
978-
using CT = DXIL::ComponentType;
979-
switch (static_cast<CT>(Input)) {
980-
case CT::I16:
981-
case CT::U16:
982-
case CT::I32:
983-
case CT::U32:
984-
case CT::F16:
985-
case CT::F32:
986-
case CT::U8:
987-
case CT::I8:
988-
case CT::F8_E4M3:
989-
case CT::F8_E5M2:
990-
return true;
991-
case CT::PackedS8x32:
992-
case CT::PackedU8x32:
993-
return InRegister;
994-
default:
995-
return false;
996-
}
997-
}
998-
999977
// Validate the type-defined mask compared to the store value mask which
1000978
// indicates which parts were defined returns true if caller should continue
1001979
// validation

0 commit comments

Comments
 (0)