mirror of
https://github.com/starr-dusT/yuzu-mainline
synced 2024-03-05 21:12:25 -08:00
video_core: gl_shader_decompiler: Fix implicit fallthrough errors.
This commit is contained in:
parent
b8f5c71f2d
commit
03726fb7f5
@ -1145,6 +1145,7 @@ private:
|
|||||||
return {"gl_FragCoord"s + GetSwizzle(element), Type::Float};
|
return {"gl_FragCoord"s + GetSwizzle(element), Type::Float};
|
||||||
default:
|
default:
|
||||||
UNREACHABLE();
|
UNREACHABLE();
|
||||||
|
return {"0", Type::Int};
|
||||||
}
|
}
|
||||||
case Attribute::Index::FrontColor:
|
case Attribute::Index::FrontColor:
|
||||||
return {"gl_Color"s + GetSwizzle(element), Type::Float};
|
return {"gl_Color"s + GetSwizzle(element), Type::Float};
|
||||||
|
Loading…
Reference in New Issue
Block a user