mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2024-12-28 05:41:21 -08:00
shader: Stub SR_AFFINITY
This commit is contained in:
parent
7ecc6de56a
commit
153a77efee
@ -159,6 +159,9 @@ enum class SpecialRegister : u64 {
|
|||||||
return ir.SubgroupGeMask();
|
return ir.SubgroupGeMask();
|
||||||
case SpecialRegister::SR_Y_DIRECTION:
|
case SpecialRegister::SR_Y_DIRECTION:
|
||||||
return ir.BitCast<IR::U32>(ir.YDirection());
|
return ir.BitCast<IR::U32>(ir.YDirection());
|
||||||
|
case SpecialRegister::SR_AFFINITY:
|
||||||
|
// LOG_WARNING(..., "SR_AFFINITY is stubbed");
|
||||||
|
return ir.Imm32(0); // This is the default value hardware returns.
|
||||||
default:
|
default:
|
||||||
throw NotImplementedException("S2R special register {}", special_register);
|
throw NotImplementedException("S2R special register {}", special_register);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user