Searched refs:BytesPerComponent (Results 1 – 3 of 3) sorted by relevance
100 size_t getBlockSize() const { return mCurrentOffset * BytesPerComponent; } in getBlockSize()105 static const size_t BytesPerComponent = 4u; variable
108 const BlockMemberInfo memberInfo(static_cast<int>(mCurrentOffset * BytesPerComponent), in encodeType()109 static_cast<int>(arrayStride * BytesPerComponent), in encodeType()110 static_cast<int>(matrixStride * BytesPerComponent), in encodeType()121 return (info.offset / BytesPerComponent) / ComponentsPerRegister; in getBlockRegister()127 return (info.offset / BytesPerComponent) % ComponentsPerRegister; in getBlockRegisterElement()
1904 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()1920 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()