Lines Matching defs:offset
471 size_t offset = 0;
483 if (fieldLayout.fOffset < (int) offset) {
485 "offset of field '" + field.fName + "' must be at "
486 "least " + to_string((int) offset));
490 "offset of field '" + field.fName + "' must be a multiple"
493 offset = fieldLayout.fOffset;
495 size_t mod = offset % alignment;
497 offset += alignment - mod;
504 (SpvId) offset, fDecorationBuffer);
517 offset += size;
518 if ((field.fType->isArray() || field.fType->isStruct()) && offset % alignment != 0) {
519 offset += alignment - offset % alignment;
1984 // current offset into the virtual vector, defaults to pulling the unmodified
1986 int offset = i;
1990 // we're writing to this component, so adjust the offset to pull from
1993 offset = (int) (j + fBaseType->columns());
1997 fGen.writeWord(offset, out);
3457 /*offset=*/-1, *fUniformBuffer.fInnerVariable, kUniformBufferName,
3504 /*offset=*/-1,