1
0
Fork 1
forked from suyu/suyu

Merge pull request #3716 from bunnei/fix-another-impl-fallthrough

video_core: gl_shader_decompiler: Fix implicit fallthrough errors.
This commit is contained in:
Mat M 2020-04-18 15:17:52 -04:00 committed by GitHub
commit 5305806071
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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};