mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-12 08:08:22 -05:00
glasm: Add Void type to GLASM values
This commit is contained in:
@ -57,6 +57,9 @@ void RegAlloc::FreeReg(Register reg) {
|
||||
Value RegAlloc::MakeImm(const IR::Value& value) {
|
||||
Value ret;
|
||||
switch (value.Type()) {
|
||||
case IR::Type::Void:
|
||||
ret.type = Type::Void;
|
||||
break;
|
||||
case IR::Type::U1:
|
||||
ret.type = Type::U32;
|
||||
ret.imm_u32 = value.U1() ? 0xffffffff : 0;
|
||||
|
Reference in New Issue
Block a user