Home
last modified time | relevance | path

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

1234

/third_party/glslang/Test/baseResults/
Dreflection.options.vert.out3 UBO.verts[0].position[0]: offset 0, type 1406, size 3, index 0, binding -1, stages 1, arrayStride 4…
4 UBO.verts[0].normal[0]: offset 12, type 1406, size 3, index 0, binding -1, stages 0, arrayStride 4,…
5 UBO.verts[1].position[0]: offset 24, type 1406, size 3, index 0, binding -1, stages 1, arrayStride
6 UBO.verts[1].normal[0]: offset 36, type 1406, size 3, index 0, binding -1, stages 0, arrayStride 4,…
7 UBO.flt[0]: offset 48, type 1406, size 8, index 0, binding -1, stages 1, arrayStride 4, topLevelArr…
9 …0][0][0]: offset 96, type 1406, size 2, index 0, binding -1, stages 1, arrayStride 4, topLevelArra…
10 …][1][0]: offset 104, type 1406, size 2, index 0, binding -1, stages 0, arrayStride 4, topLevelArra…
11 …][2][0]: offset 112, type 1406, size 2, index 0, binding -1, stages 0, arrayStride 4, topLevelArra…
12 …][0][0]: offset 120, type 1406, size 2, index 0, binding -1, stages 0, arrayStride 4, topLevelArra…
13 …][1][0]: offset 128, type 1406, size 2, index 0, binding -1, stages 0, arrayStride 4, topLevelArra…
[all …]
Dreflection.vert.out21 floatArray: offset 112, type 1406, size 5, index 1, binding -1, stages 1, arrayStride 16, topLevelA…
28 named.m22: offset 80, type 8b5a, size 7, index 0, binding -1, stages 1, arrayStride 32, topLevelArr…
29 dm22: offset -1, type 8b5a, size 4, index -1, binding -1, stages 1, arrayStride 16, topLevelArraySt…
30 m22: offset 208, type 8b5a, size 3, index 1, binding -1, stages 1, arrayStride 32, topLevelArrayStr…
35 deepA[0].d2.d1[2].va: offset -1, type 8b50, size 3, index -1, binding -1, stages 1, arrayStride 8, …
36 deepA[1].d2.d1[2].va: offset -1, type 8b50, size 3, index -1, binding -1, stages 1, arrayStride 8, …
37 deepB[1].d2.d1[0].va: offset -1, type 8b50, size 2, index -1, binding -1, stages 1, arrayStride 8, …
38 deepB[1].d2.d1[1].va: offset -1, type 8b50, size 2, index -1, binding -1, stages 1, arrayStride 8, …
39 deepB[1].d2.d1[2].va: offset -1, type 8b50, size 2, index -1, binding -1, stages 1, arrayStride 8, …
40 deepB[1].d2.d1[3].va: offset -1, type 8b50, size 2, index -1, binding -1, stages 1, arrayStride 8, …
[all …]
Dhlsl.reflection.vert.out14 floatArray: offset 112, type 1406, size 5, index 0, binding -1, stages 1, arrayStride 16, topLevelA…
16 m22: offset 208, type 8b5a, size 9, index 0, binding -1, stages 1, arrayStride 32, topLevelArrayStr…
17 dm22: offset 32, type 8b5a, size 4, index 1, binding -1, stages 1, arrayStride 32, topLevelArrayStr…
22 deepA.d2.d1[2].va: offset 440, type 8b50, size 2, index 1, binding -1, stages 1, arrayStride 8, top…
23 deepB.d2.d1.va: offset 984, type 8b50, size 2, index 1, binding -1, stages 1, arrayStride 8, topLev…
24 deepB.d2.d1[0].va: offset 984, type 8b50, size 2, index 1, binding -1, stages 1, arrayStride 8, top…
25 deepB.d2.d1[1].va: offset 1016, type 8b50, size 2, index 1, binding -1, stages 1, arrayStride 8, to…
26 deepB.d2.d1[2].va: offset 1048, type 8b50, size 2, index 1, binding -1, stages 1, arrayStride 8, to…
27 deepB.d2.d1[3].va: offset 1080, type 8b50, size 2, index 1, binding -1, stages 1, arrayStride 8, to…
30 deepC.d2.d1[0].va: offset 1592, type 8b50, size 3, index 1, binding -1, stages 1, arrayStride 8, to…
[all …]
Dhlsl.automap.frag.out6 t4.@data: offset 0, type 8b52, size 1, index 0, binding -1, stages 16, arrayStride 16, topLevelArra…
7 t5.@data: offset 0, type 1405, size 0, index 1, binding -1, stages 16, arrayStride 4, topLevelArray…
15 u5.@data: offset 0, type 1405, size 0, index 2, binding -1, stages 16, arrayStride 4, topLevelArray…
16 u6.@data: offset 0, type 1406, size 1, index 3, binding -1, stages 16, arrayStride 4, topLevelArray…
Dhlsl.reflection.binding.frag.out5 t1a: offset -1, type 8b5d, size 1, index -1, binding 16, stages 16, arrayStride 4, topLevelArrayStr…
6 s1a: offset -1, type 0, size 1, index -1, binding 6, stages 16, arrayStride 4, topLevelArrayStride 4
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DVertexStateValidationTests.cpp64 state.cVertexBuffers[0].arrayStride = 0; in TEST_F()
71 state.cVertexBuffers[1].arrayStride = 0; in TEST_F()
92 state.cVertexBuffers[0].arrayStride = 2 * sizeof(float); in TEST_F()
132 state.cVertexBuffers[0].arrayStride = 0; in TEST_F()
147 state.cVertexBuffers[0].arrayStride = 2 * sizeof(float); in TEST_F()
155 state.cVertexBuffers[0].arrayStride = sizeof(float); in TEST_F()
159 state.cVertexBuffers[0].arrayStride = 0; in TEST_F()
202 state.cVertexBuffers[0].arrayStride = kMaxVertexBufferArrayStride; in TEST_F()
207 state.cVertexBuffers[0].arrayStride = kMaxVertexBufferArrayStride + 1; in TEST_F()
216 state.cVertexBuffers[0].arrayStride = 4; in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCommandBufferStateTracker.cpp97 uint64_t arrayStride = vertexBuffer.arrayStride; in ValidateBufferInRangeForVertexBuffer() local
100 if (arrayStride == 0) { in ValidateBufferInRangeForVertexBuffer()
108 (static_cast<uint64_t>(firstVertex) + vertexCount) * arrayStride; in ValidateBufferInRangeForVertexBuffer()
117 static_cast<uint8_t>(usedSlotVertex), arrayStride); in ValidateBufferInRangeForVertexBuffer()
136 uint64_t arrayStride = vertexBuffer.arrayStride; in ValidateBufferInRangeForInstanceBuffer() local
138 if (arrayStride == 0) { in ValidateBufferInRangeForInstanceBuffer()
146 (static_cast<uint64_t>(firstInstance) + instanceCount) * arrayStride; in ValidateBufferInRangeForInstanceBuffer()
155 static_cast<uint8_t>(usedSlotInstance), arrayStride); in ValidateBufferInRangeForInstanceBuffer()
DRenderPipeline.cpp179 buffer->arrayStride > kMaxVertexBufferArrayStride, in ValidateVertexBufferLayout()
181 buffer->arrayStride, kMaxVertexBufferArrayStride); in ValidateVertexBufferLayout()
183 DAWN_INVALID_IF(buffer->arrayStride % 4 != 0, in ValidateVertexBufferLayout()
185 buffer->arrayStride); in ValidateVertexBufferLayout()
189 buffer->arrayStride, attributesSetMask), in ValidateVertexBufferLayout()
584 mVertexBufferInfos[typedSlot].arrayStride = buffers[slot].arrayStride; in RenderPipelineBase()
924 recorder.Record(desc.arrayStride, desc.stepMode); in ComputeContentHash()
1034 if (descA.arrayStride != descB.arrayStride || descA.stepMode != descB.stepMode) { in operator ()()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
Dblocklayout.h29 constexpr BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
31 arrayStride(arrayStride), in BlockMemberInfo()
37 int arrayStride, in BlockMemberInfo()
42 arrayStride(arrayStride), in BlockMemberInfo()
52 int arrayStride = -1; member
112 int arrayStride,
137 int arrayStride, in advanceOffset() argument
162 int arrayStride,
DblocklayoutHLSL.cpp41 int arrayStride = 0; in getBlockLayoutInfo() local
58 arrayStride = kComponentsPerRegister * numRegisters; in getBlockLayoutInfo()
63 arrayStride = kComponentsPerRegister; in getBlockLayoutInfo()
75 *arrayStrideOut = arrayStride; in getBlockLayoutInfo()
81 int arrayStride, in advanceOffset() argument
91 mCurrentOffset += arrayStride * (arraySize - 1); in advanceOffset()
Dblocklayout.cpp187 int arrayStride; in encodeType() local
190 getBlockLayoutInfo(type, arraySizes, isRowMajorMatrix, &arrayStride, &matrixStride); in encodeType()
193 static_cast<int>(arrayStride * kBytesPerComponent), in encodeType()
197 advanceOffset(type, arraySizes, isRowMajorMatrix, arrayStride, matrixStride); in encodeType()
210 const size_t arrayStride = size * innerArraySizeProduct; in encodeArrayOfPreEncodedStructs() local
213 static_cast<int>(arrayStride), -1, false); in encodeArrayOfPreEncodedStructs()
215 angle::base::CheckedNumeric<size_t> checkedOffset(arrayStride); in encodeArrayOfPreEncodedStructs()
302 int arrayStride = 0; in getBlockLayoutInfo() local
312 arrayStride = in getBlockLayoutInfo()
319 arrayStride = static_cast<int>(getTypeBaseAlignment(type, false)); in getBlockLayoutInfo()
[all …]
DShaderStorageBlockOutputHLSL.cpp233 int arrayStride = static_cast<int>(childVisitor.getEncoder(mStorage)->getCurrentOffset()); in enterStructAccess() local
242 mBlockInfoOut->emplace(structField, BlockMemberInfo(offset, arrayStride, -1, false)); in enterStructAccess()
476 unsizedArrayStride = fieldInfoIter->second.arrayStride; in traverseSSBOAccess()
488 unsizedArrayStride = fieldInfoIter->second.arrayStride; in traverseSSBOAccess()
613 right = Mul(CreateUIntNode(blockMemberInfo->arrayStride), right); in writeEOpIndexDirectOrIndirectOutput()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DProgramVk.cpp34 int arrayStride, in advanceOffset() argument
42 sh::Std140BlockEncoder::advanceOffset(type, arraySizes, isRowMajorMatrix, arrayStride, in advanceOffset()
84 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize) in UpdateDefaultUniformBlock()
86 uint32_t arrayOffset = arrayIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
98 const int arrayOffset = writeIndex * layoutInfo.arrayStride; in UpdateDefaultUniformBlock()
119 if (layoutInfo.arrayStride == 0 || layoutInfo.arrayStride == elementSize) in ReadFromDefaultUniformBlock()
121 const uint8_t *readPtr = source + arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock()
127 const int arrayOffset = arrayIndex * layoutInfo.arrayStride; in ReadFromDefaultUniformBlock()
466 locationInfo.arrayIndex * layoutInfo.arrayStride + layoutInfo.offset; in setUniformImpl()
469 GLint elementOffset = i * layoutInfo.arrayStride + initialArrayOffset; in setUniformImpl()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DOutputASM.h38 BlockMemberInfo() : offset(-1), arrayStride(-1), matrixStride(-1), isRowMajorMatrix(false) {} in BlockMemberInfo()
40 BlockMemberInfo(int offset, int arrayStride, int matrixStride, bool isRowMajorMatrix) in BlockMemberInfo()
42 arrayStride(arrayStride), in BlockMemberInfo()
53 int arrayStride; member
124 …(const TType &type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStri…
139 …(const TType &type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStri…
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fBasicComputeShaderTests.cpp188 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
222 …(const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx)); in iterate()
312 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
345 …(const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx)); in iterate()
406 const deUint32 blockSize = valueInfo.arrayStride*(deUint32)m_numValues; in iterate()
431 …*(deUint32*)((deUint8*)bufMap.getPtr() + valueInfo.offset + ndx*valueInfo.arrayStride) = inputValu… in iterate()
448 …(const deUint32*)((const deUint8*)bufMap.getPtr() + valueInfo.offset + valueInfo.arrayStride*ndx)); in iterate()
523 const deUint32 block0Size = value0Info.arrayStride*(deUint32)m_numValues; in iterate()
528 const deUint32 block1Size = value1Info.arrayStride*(deUint32)m_numValues; in iterate()
564 …onst deUint32*)((const deUint8*)bufMap.getPtr() + value0Info.offset + value0Info.arrayStride*ndx)); in iterate()
[all …]
Des31fSSBOLayoutCase.cpp164 , arrayStride (-1) in BufferVarLayoutEntry()
177 int arrayStride; member
196 << ", arrayStride = " << entry.arrayStride in operator <<()
483 entry.arrayStride = 0; in computeReferenceLayout()
528 entry.arrayStride = stride; in computeReferenceLayout()
552 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout()
616 entry.arrayStride = stride; in computeReferenceLayout()
644 entry.arrayStride = stride*numVecs; in computeReferenceLayout()
731 const int arrayStride = entry.arrayStride; in generateValue() local
749 deUint8* const elemPtr = topElemPtr + elemNdx*arrayStride; in generateValue()
[all …]
Des31fShaderAtomicOpTests.cpp216 getInputs((int)numValues, (int)inVarInfo.arrayStride, &bufData[0] + inVarInfo.offset); in iterate()
221 …*(deUint32*)(&bufData[0] + groupVarInfo.offset + groupVarInfo.arrayStride*valNdx) = m_initialValue; in iterate()
241 (int)inVarInfo.arrayStride, (const deUint8*)resPtr + inVarInfo.offset, in iterate()
242 (int)outVarInfo.arrayStride, (const deUint8*)resPtr + outVarInfo.offset, in iterate()
243 (int)groupVarInfo.arrayStride, (const deUint8*)resPtr + groupVarInfo.offset); in iterate()
1026 *(deUint32*)(&bufData[0] + cmpVarInfo.offset + cmpVarInfo.arrayStride*ndx) = ndx%workGroupSize; in iterate()
1029 …*(deUint32*)(&bufData[0] + exhVarInfo.offset + exhVarInfo.arrayStride*ndx) = (ndx%workGroupSize)+1; in iterate()
1052 …(const deInt32*)((const deUint8*)resPtr + groupVarInfo.offset + groupNdx*groupVarInfo.arrayStride); in iterate()
1057 …onst deInt32*)((const deUint8*)resPtr + outVarInfo.offset + outVarInfo.arrayStride*(groupOffset+lo… in iterate()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp212 …: type(glu::TYPE_LAST), size(0), blockNdx(-1), offset(-1), arrayStride(-1), matrixStride(-1), isRo… in UniformLayoutEntry()
221 int arrayStride; member
230 << ", arrayStride = " << entry.arrayStride << ", matrixStride = " << entry.matrixStride in operator <<()
448 entry.arrayStride = 0; in computeStd140Layout()
494 entry.arrayStride = stride; in computeStd140Layout()
518 entry.arrayStride = stride * numVecs; in computeStd140Layout()
612 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx * entry.arrayStride : 0); in generateValue()
862 … elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx * entry.arrayStride : 0); in generateValueSrc()
1204 entry.arrayStride = arrayStrides[uniformNdx]; in getGLUniformLayout()
1226 deUint8* dstElemPtr = dstBasePtr + elementNdx * dstEntry.arrayStride; in copyUniformData()
[all …]
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp397 int arrayStride = topLevelArrayStride; in blowUpActiveAggregate() local
400 arrayStride = getArrayStride(baseType, derefType); in blowUpActiveAggregate()
403 if (topLevelArraySize == -1 && arrayStride == 0 && blockParent) in blowUpActiveAggregate()
413 … blockIndex, 0, dimSize, arrayStride, terminalType->getQualifier().storage, false); in blowUpActiveAggregate()
426 topLevelArraySize, arrayStride, baseStorage, active); in blowUpActiveAggregate()
455 variables.back().arrayStride = getArrayStride(baseType, *terminalType); in blowUpActiveAggregate()
457 topLevelArrayStride = variables.back().arrayStride; in blowUpActiveAggregate()
1080 …numMembers(-1), arrayStride(0), topLevelArrayStride(0), stages(EShLanguageMask(0)), type(pType.clo… in TObjectReflection()
1102 if (arrayStride != 0) in dump()
1103 printf(", arrayStride %d", arrayStride); in dump()
/third_party/vk-gl-cts/modules/glshared/
DglsUniformBlockCase.cpp241 , arrayStride (-1) in UniformLayoutEntry()
252 int arrayStride; member
263 << ", arrayStride = " << entry.arrayStride in operator <<()
475 entry.arrayStride = 0; in computeStd140Layout()
522 entry.arrayStride = stride; in computeStd140Layout()
546 entry.arrayStride = stride*numVecs; in computeStd140Layout()
639 deUint8* elemPtr = (deUint8*)basePtr + entry.offset + (isArray ? elemNdx*entry.arrayStride : 0); in generateValue()
950 … elemPtr = (const deUint8*)basePtr + entry.offset + (isArray ? elementNdx*entry.arrayStride : 0); in generateValueSrc()
1262 entry.arrayStride = arrayStrides[uniformNdx]; in getGLUniformLayout()
1283 deUint8* dstElemPtr = dstBasePtr + elementNdx*dstEntry.arrayStride; in copyUniformData()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DShaderTests.cpp176 rpDesc.cBuffers[0].arrayStride = 28; in TEST_P()
224 rpDesc.cBuffers[0].arrayStride = 28; in TEST_P()
271 rpDesc.cBuffers[0].arrayStride = 28; in TEST_P()
313 rpDesc.cBuffers[0].arrayStride = 28; in TEST_P()
359 rpDesc.cBuffers[0].arrayStride = 16; in TEST_P()
384 descriptor.cBuffers[0].arrayStride = 4 * sizeof(float); in TEST_P()
/third_party/vk-gl-cts/framework/opengl/
DgluProgramInterfaceQuery.hpp66 deInt32 arrayStride; //!< GL_ARRAY_STRIDE member
79 , arrayStride (0) in InterfaceVariableInfo()
/third_party/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp33 cVertexBuffers[i].arrayStride = 0; in ComboVertexState()
63 cBuffers[i].arrayStride = 0; in ComboRenderPipelineDescriptor()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.hpp159 , arrayStride (-1) in BufferVarLayoutEntry()
172 int arrayStride; member
DvktSSBOLayoutCase.cpp157 << ", arrayStride = " << entry.arrayStride in operator <<()
493 entry.arrayStride = 0; in computeReferenceLayout()
546 entry.arrayStride = stride; in computeReferenceLayout()
573 entry.arrayStride = vecStride*numVecs; in computeReferenceLayout()
579 curOffset += entry.arrayStride*type.getArraySize(); in computeReferenceLayout()
643 entry.arrayStride = stride; in computeReferenceLayout()
674 entry.arrayStride = stride*numVecs; in computeReferenceLayout()
680 curOffset += entry.arrayStride*topLevelArraySize; in computeReferenceLayout()
771 const int arrayStride = entry.arrayStride; in generateValue() local
789 deUint8* const elemPtr = topElemPtr + elemNdx*arrayStride; in generateValue()
[all …]

1234