Home
last modified time | relevance | path

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

/frameworks/compile/slang/
Dslang_backend.cpp478 uint64_t fieldPrePaddingOffset = 0; // byte offset of pre-field padding within struct in PadStruct() local
486 const size_t prePadding = fieldOffset - fieldPrePaddingOffset; in PadStruct()
495 fieldPrePaddingOffset = fieldOffset + (ASTC.getTypeSize(FD->getType()) >> 3); in PadStruct()
504 slangAssert(RL.getSize().getQuantity() >= fieldPrePaddingOffset); in PadStruct()
505 if (const size_t tailPadding = RL.getSize().getQuantity() - fieldPrePaddingOffset) { in PadStruct()
857 uint64_t fieldPrePaddingOffset = 0; // byte offset of pre-field padding within struct in PadHelperFunctionStruct() local
860 const size_t prePadding = fieldOffset - fieldPrePaddingOffset; in PadHelperFunctionStruct()
870 fieldPrePaddingOffset = fieldOffset + DL->getTypeAllocSize(fieldType); in PadHelperFunctionStruct()
879 slangAssert(SL->getSizeInBytes() >= fieldPrePaddingOffset); in PadHelperFunctionStruct()
880 if (const size_t tailPadding = SL->getSizeInBytes() - fieldPrePaddingOffset) { in PadHelperFunctionStruct()