mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-17 20:37:33 +01:00
shader: Mark ConvertF16F32 and ConvertF32F16 as fp16 instructions
Fixes instances where fp16 types are not declared on SPIR-V but they are used. This shouldn't happen on master, as it's been uncovered by an additional optimization pass.
This commit is contained in:
parent
92887a65f0
commit
1bb46b7d64
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user