Merge pull request #6760 from ReinUsesLisp/fp16-collect

shader: Mark ConvertF16F32 and ConvertF32F16 as fp16 instructions
This commit is contained in:
bunnei 2021-07-28 14:55:06 -07:00 committed by GitHub
commit 124e3b4819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -111,6 +111,8 @@ void VisitUsages(Info& info, IR::Inst& inst) {
case IR::Opcode::ConvertF16U16: case IR::Opcode::ConvertF16U16:
case IR::Opcode::ConvertF16U32: case IR::Opcode::ConvertF16U32:
case IR::Opcode::ConvertF16U64: case IR::Opcode::ConvertF16U64:
case IR::Opcode::ConvertF16F32:
case IR::Opcode::ConvertF32F16:
case IR::Opcode::FPAbs16: case IR::Opcode::FPAbs16:
case IR::Opcode::FPAdd16: case IR::Opcode::FPAdd16:
case IR::Opcode::FPCeil16: case IR::Opcode::FPCeil16: