Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DblocklayoutHLSL.cpp68 if ((numComponents + (mCurrentOffset % kComponentsPerRegister)) > kComponentsPerRegister) in getBlockLayoutInfo()
91 mCurrentOffset += arrayStride * (arraySize - 1); in advanceOffset()
100 mCurrentOffset += kComponentsPerRegister * (numRegisters - 1); in advanceOffset()
101 mCurrentOffset += numComponents; in advanceOffset()
105 mCurrentOffset += gl::VariableComponentCount(type); in advanceOffset()
109 mCurrentOffset += kComponentsPerRegister; in advanceOffset()
115 mCurrentOffset += (numRegisters * kComponentsPerRegister); in skipRegisters()
Dblocklayout.cpp181 BlockLayoutEncoder::BlockLayoutEncoder() : mCurrentOffset(0) {} in BlockLayoutEncoder()
192 const BlockMemberInfo memberInfo(static_cast<int>(mCurrentOffset * kBytesPerComponent), in encodeType()
212 const BlockMemberInfo memberInfo(static_cast<int>(mCurrentOffset * kBytesPerComponent), in encodeArrayOfPreEncodedStructs()
218 checkedOffset += mCurrentOffset; in encodeArrayOfPreEncodedStructs()
219 mCurrentOffset = checkedOffset.ValueOrDefault(std::numeric_limits<size_t>::max()); in encodeArrayOfPreEncodedStructs()
226 angle::base::CheckedNumeric<size_t> checkedOffset(mCurrentOffset); in getCurrentOffset()
233 size_t currentOffset = mCurrentOffset; in getShaderVariableSize()
234 mCurrentOffset = 0; in getShaderVariableSize()
240 mCurrentOffset = currentOffset; in getShaderVariableSize()
258 angle::base::CheckedNumeric<size_t> checkedOffset(mCurrentOffset); in align()
[all …]
Dblocklayout.h115 size_t mCurrentOffset; variable
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.h107 size_t getBlockSize() const { return mCurrentOffset * BytesPerComponent; } in getBlockSize()
119 size_t mCurrentOffset;
DOutputASM.cpp291 : mCurrentOffset(0) in BlockLayoutEncoder()
303 const BlockMemberInfo memberInfo(static_cast<int>(mCurrentOffset * BytesPerComponent), in encodeType()
327 mCurrentOffset = sw::align(mCurrentOffset, ComponentsPerRegister); in nextRegister()
372 mCurrentOffset = sw::align(mCurrentOffset, baseAlignment); in getBlockLayoutInfo()
382 mCurrentOffset += arrayStride * arraySize; in advanceOffset()
388 mCurrentOffset += ComponentsPerRegister * numRegisters; in advanceOffset()
392 mCurrentOffset += type.getElementSize(); in advanceOffset()