Merge pull request #1105 from Subv/convert_neg

Shader: Remove an unneeded assert, the negate bit is implemented for conversion instructions.
This commit is contained in:
bunnei 2018-08-19 17:01:20 -04:00 committed by GitHub
commit 9b17486be6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1293,8 +1293,6 @@ private:
break; break;
} }
case OpCode::Type::Conversion: { case OpCode::Type::Conversion: {
ASSERT_MSG(!instr.conversion.negate_a, "Unimplemented");
switch (opcode->GetId()) { switch (opcode->GetId()) {
case OpCode::Id::I2I_R: { case OpCode::Id::I2I_R: {
ASSERT_MSG(!instr.conversion.selector, "Unimplemented"); ASSERT_MSG(!instr.conversion.selector, "Unimplemented");