mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 04:08:00 -05:00
spirv: Define StorageImageWriteWithoutFormat capability when used
This commit is contained in:
@ -436,6 +436,11 @@ void VisitUsages(Info& info, IR::Inst& inst) {
|
||||
inst.GetAssociatedPseudoOperation(IR::Opcode::GetSparseFromOp) != nullptr;
|
||||
break;
|
||||
}
|
||||
case IR::Opcode::ImageWrite: {
|
||||
const auto flags{inst.Flags<IR::TextureInstInfo>()};
|
||||
info.uses_typeless_image_writes |= flags.image_format == ImageFormat::Typeless;
|
||||
break;
|
||||
}
|
||||
case IR::Opcode::SubgroupEqMask:
|
||||
case IR::Opcode::SubgroupLtMask:
|
||||
case IR::Opcode::SubgroupLeMask:
|
||||
|
Reference in New Issue
Block a user