Searched refs:BytesPerComponent (Results 1 – 3 of 3) sorted by relevance
107 size_t getBlockSize() const { return mCurrentOffset * BytesPerComponent; } in getBlockSize()112 static const size_t BytesPerComponent = 4u; variable
303 const BlockMemberInfo memberInfo(static_cast<int>(mCurrentOffset * BytesPerComponent), in encodeType()304 static_cast<int>(arrayStride * BytesPerComponent), in encodeType()305 static_cast<int>(matrixStride * BytesPerComponent), in encodeType()316 return (info.offset / BytesPerComponent) / ComponentsPerRegister; in getBlockRegister()322 return (info.offset / BytesPerComponent) % ComponentsPerRegister; in getBlockRegisterElement()
2077 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()2093 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()