added missing break statements
This commit is contained in:
parent
21a74b6cda
commit
529b3d1e8e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user