• Home
  • Raw
  • Download

Lines Matching refs:layoutInfo

110                                const sh::BlockMemberInfo &layoutInfo,
115 uint8_t *dst = uniformData->data() + layoutInfo.offset;
116 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize)
118 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride;
130 const int arrayOffset = writeIndex * layoutInfo.arrayStride;
143 const sh::BlockMemberInfo &layoutInfo,
146 ASSERT(layoutInfo.offset != -1);
149 const uint8_t *source = uniformData->data() + layoutInfo.offset;
151 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize)
153 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride;
159 const int arrayOffset = arrayIndex * layoutInfo.arrayStride;
525 gl::ShaderMap<sh::BlockMemberInfo> layoutInfo;
547 layoutInfo[shaderType] = it->second;
557 mDefaultUniformBlocks[shaderType].uniformLayout.push_back(layoutInfo[shaderType]);
900 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location];
903 if (layoutInfo.offset == -1)
909 UpdateDefaultUniformBlock(count, locationInfo.arrayIndex, componentCount, v, layoutInfo,
919 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location];
922 if (layoutInfo.offset == -1)
932 locationInfo.arrayIndex * layoutInfo.arrayStride + layoutInfo.offset;
935 GLint elementOffset = i * layoutInfo.arrayStride + initialArrayOffset;
963 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location];
970 const uint8_t *ptrToElement = uniformBlock.uniformData.data() + layoutInfo.offset +
971 (locationInfo.arrayIndex * layoutInfo.arrayStride);
977 v, layoutInfo, &uniformBlock.uniformData);
1053 const sh::BlockMemberInfo &layoutInfo = uniformBlock.uniformLayout[location];
1056 if (layoutInfo.offset == -1)
1063 uniformBlock.uniformData.data() + layoutInfo.offset);