Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DOutputASM.h100 size_t getBlockSize() const { return mCurrentOffset * BytesPerComponent; } in getBlockSize()
105 static const size_t BytesPerComponent = 4u; variable
DOutputASM.cpp108 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()
/external/swiftshader/src/OpenGL/libGLESv2/
DProgram.cpp1904 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()
1920 …int regInc = block.dataSize / (glsl::BlockLayoutEncoder::BytesPerComponent * glsl::BlockLayoutEnco… in defineUniformBlock()