Don't warn on vector instructions - DXIL uses them sometimes

This commit is contained in:
baldurk
2021-09-08 18:28:23 +01:00
parent 012fedbb4a
commit a67b0beb7f
@@ -2165,8 +2165,7 @@ Program::Program(const byte *bytes, size_t length)
}
else if(op.type == FunctionRecord::INST_EXTRACTELT)
{
// DXIL claims to be scalarised so should this appear?
RDCWARN("Unexpected vector instruction extractelement in DXIL");
// DXIL claims to be scalarised but lol that's a lie
Instruction inst;
@@ -2186,8 +2185,7 @@ Program::Program(const byte *bytes, size_t length)
}
else if(op.type == FunctionRecord::INST_INSERTELT)
{
// DXIL claims to be scalarised so should this appear?
RDCWARN("Unexpected vector instruction insertelement in DXIL");
// DXIL claims to be scalarised but lol that's a lie
Instruction inst;