2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

video_core: gl_shader_decompiler: Fix implicit fallthrough errors.

This commit is contained in:
bunnei 2020-04-18 15:15:21 -04:00
parent b8f5c71f2d
commit 03726fb7f5

View file

@ -1145,6 +1145,7 @@ private:
return {"gl_FragCoord"s + GetSwizzle(element), Type::Float};
default:
UNREACHABLE();
return {"0", Type::Int};
}
case Attribute::Index::FrontColor:
return {"gl_Color"s + GetSwizzle(element), Type::Float};