Home
last modified time | relevance | path

Searched refs:arrayStride (Results 1 – 14 of 14) sorted by relevance

/external/chromium_org/third_party/angle/src/common/
Dblocklayout.cpp50 int arrayStride; in encodeInterfaceBlockField() local
54 …getBlockLayoutInfo(field.type, field.arraySize, field.isRowMajorMatrix, &arrayStride, &matrixStrid… in encodeInterfaceBlockField()
56 …const BlockMemberInfo memberInfo(mCurrentOffset * BytesPerComponent, arrayStride * BytesPerCompone… in encodeInterfaceBlockField()
63 advanceOffset(field.type, field.arraySize, field.isRowMajorMatrix, arrayStride, matrixStride); in encodeInterfaceBlockField()
68 int arrayStride; in encodeType() local
71 getBlockLayoutInfo(type, arraySize, isRowMajorMatrix, &arrayStride, &matrixStride); in encodeType()
73 …const BlockMemberInfo memberInfo(mCurrentOffset * BytesPerComponent, arrayStride * BytesPerCompone… in encodeType()
80 advanceOffset(type, arraySize, isRowMajorMatrix, arrayStride, matrixStride); in encodeType()
110 int arrayStride = 0; in getBlockLayoutInfo() local
120 arrayStride = ComponentsPerRegister * numRegisters; in getBlockLayoutInfo()
[all …]
Dshadervars.h120 int arrayStride; member
129 BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
131 arrayStride(arrayStride), in BlockMemberInfo()
Dblocklayout.h49 …Offset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStri…
67 …Offset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStri…
95 …Offset(GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStri…
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp163 , arrayStride (-1) in BufferVarLayoutEntry()
176 int arrayStride; member
195 << ", arrayStride = " << entry.arrayStride in operator <<()
488 entry.arrayStride = 0; in computeReferenceLayout()
533 entry.arrayStride = stride; in computeReferenceLayout()
557 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout()
621 entry.arrayStride = stride; in computeReferenceLayout()
649 entry.arrayStride = stride*numVecs; in computeReferenceLayout()
736 const int arrayStride = entry.arrayStride; in generateValue() local
754 deUint8* const elemPtr = topElemPtr + elemNdx*arrayStride; in generateValue()
[all …]
Des31fBasicComputeShaderTests.cpp183 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
217 …(const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx)); in iterate()
305 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
338 …(const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx)); in iterate()
397 const deUint32 blockSize = valueInfo.arrayStride*(deUint32)m_numValues; in iterate()
422 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
439 …(const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx)); in iterate()
512 const deUint32 block0Size = value0Info.arrayStride*(deUint32)m_numValues; in iterate()
517 const deUint32 block1Size = value1Info.arrayStride*(deUint32)m_numValues; in iterate()
553 …onst deUint32*)((const deUint8*)bufMap.getPtr() + value0Info.offset + value0Info.arrayStride*ndx)); in iterate()
[all …]
Des31fShaderAtomicOpTests.cpp207 getInputs((int)numValues, (int)inVarInfo.arrayStride, &bufData[0] + inVarInfo.offset); in iterate()
212 …*(deUint32*)(&bufData[0] + groupVarInfo.offset + groupVarInfo.arrayStride*valNdx) = m_initialValue; in iterate()
232 (int)inVarInfo.arrayStride, (const deUint8*)resPtr + inVarInfo.offset, in iterate()
233 (int)outVarInfo.arrayStride, (const deUint8*)resPtr + outVarInfo.offset, in iterate()
234 (int)groupVarInfo.arrayStride, (const deUint8*)resPtr + groupVarInfo.offset); in iterate()
932 *(deUint32*)(&bufData[0] + cmpVarInfo.offset + cmpVarInfo.arrayStride*ndx) = ndx%workGroupSize; in iterate()
935 …*(deUint32*)(&bufData[0] + exhVarInfo.offset + exhVarInfo.arrayStride*ndx) = (ndx%workGroupSize)+1; in iterate()
958 … = *(const int*)((const deUint8*)resPtr + groupVarInfo.offset + groupNdx*groupVarInfo.arrayStride); in iterate()
963 … *(const int*)((const deUint8*)resPtr + outVarInfo.offset + outVarInfo.arrayStride*(groupOffset+lo… in iterate()
Des31fComputeShaderBuiltinVarTests.cpp218 const deUint32 bufferSize = numInvocations*outVarInfo.arrayStride; in iterate()
260 …st deUint32* resPtr = (const deUint32*)((const deUint8*)ptr + refOffset*outVarInfo.arrayStride); in iterate()
Des31fShaderSharedVarTests.cpp326 … resVal = *((const int*)((const deUint8*)resPtr + outVarInfo.offset + outVarInfo.arrayStride*ndx)); in iterate()
Des31fProgramInterfaceQueryTestCase.cpp493 …const int arrayStride = (isAtomicCounter && isArray) ? (4) : (!isBufferBlock && !isAtomicCounter) … in validateSingleVariable() local
495 …() << tcu::TestLog::Message << "Verifying array stride, expecting " << arrayStride << tcu::TestLog… in validateSingleVariable()
497 if (arrayStride != propValue) in validateSingleVariable()
Des31fShaderImageLoadStoreTests.cpp997 … = (const float*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx); in readFloatOrNormTextureWithLookupsAndVerify()
/external/deqp/framework/opengl/
DgluProgramInterfaceQuery.hpp66 deInt32 arrayStride; //!< GL_ARRAY_STRIDE member
79 , arrayStride (0) in InterfaceVariableInfo()
DgluProgramInterfaceQuery.cpp94 info.arrayStride = getProgramResourceUint(gl, program, programInterface, index, GL_ARRAY_STRIDE); in getProgramInterfaceVariableInfo()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp240 , arrayStride (-1) in UniformLayoutEntry()
251 int arrayStride; member
262 << ", arrayStride = " << entry.arrayStride in operator <<()
480 entry.arrayStride = 0; in computeStd140Layout()
526 entry.arrayStride = stride; in computeStd140Layout()
550 entry.arrayStride = stride*numVecs; in computeStd140Layout()
638 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
947 … elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx*entry.arrayStride : 0); in generateValueSrc()
1259 entry.arrayStride = arrayStrides[uniformNdx]; in getGLUniformLayout()
1280 deUint8* dstElemPtr = dstBasePtr + elementNdx*dstEntry.arrayStride; in copyUniformData()
[all …]
/external/chromium_org/third_party/angle/src/libGLESv2/
DProgramBinary.cpp1103 int arrayStride = stream.readInt<int>(); in load()
1107 const gl::BlockMemberInfo blockInfo(offset, arrayStride, matrixStride, isRowMajorMatrix); in load()
1319 stream.writeInt(uniform.blockInfo.arrayStride); in save()
2407 case GL_UNIFORM_ARRAY_STRIDE: return uniform.blockInfo.arrayStride; in getActiveUniformi()