added missing break statements

This commit is contained in:
Maximilian Maldacker 2018-02-13 22:54:03 +01:00
parent 21a74b6cda
commit 529b3d1e8e

View File

@ -203,13 +203,16 @@ string MVKCommandResourceFactory::getFragFunctionSuffix(MTLPixelFormat mtlPixFmt
string suffix;
switch (mvkFormatTypeFromMTLPixelFormat(mtlPixFmt)) {
case kMVKFormatDepthStencil:
suffix += "DS";
suffix = "DS";
break;
case kMVKFormatColorUInt:
suffix += "U";
suffix = "U";
break;
case kMVKFormatColorInt:
suffix += "I";
suffix = "I";
break;
default:
suffix += "F";
suffix = "F";
break;
}