Home
last modified time | relevance | path

Searched refs:padAmount (Results 1 – 1 of 1) sorted by relevance

/external/angle/src/compiler/translator/TranslatorMetalDirect/
DModifyStruct.cpp384 void addPadding(size_t padAmount, bool updateLayout) in addPadding() argument
386 if (padAmount == 0) in addPadding()
395 while (padAmount > 0) in addPadding()
398 if (padAmount >= 16) in addPadding()
400 padAmount -= 16; in addPadding()
403 else if (padAmount >= 8) in addPadding()
405 padAmount -= 8; in addPadding()
408 else if (padAmount >= 4) in addPadding()
410 padAmount -= 4; in addPadding()
413 else if (padAmount >= 2) in addPadding()
[all …]