Home
last modified time | relevance | path

Searched refs:instanceNdx (Results 1 – 25 of 33) sorted by relevance

12

/external/deqp/framework/referencerenderer/
DrrVertexAttrib.hpp131 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, c…
132 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, …
133 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, …
137 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribFloat() argument
140 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribFloat()
144 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttribInt() argument
147 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribInt()
151 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttribUint() argument
154 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx); in readVertexAttribUint()
DrrVertexAttrib.cpp488 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, con… in readVertexAttrib() argument
494 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instance… in readVertexAttrib()
508 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttrib() argument
514 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instance… in readVertexAttrib()
528 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, co… in readVertexAttrib() argument
534 …const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? (instanceNdx / vertexAttrib.instance… in readVertexAttrib()
DrrVertexPacket.hpp56 int instanceNdx; //!< Instance index. member
/external/deqp/modules/gles31/functional/
Des31fSSBOLayoutCase.cpp710 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeReferenceLayout() local
724 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeReferenceLayout()
1075 string getShaderName (const BufferBlock& block, int instanceNdx, const BufferVar& var, const glu::T… in getShaderName() argument
1084 name << "[" << instanceNdx << "]"; in getShaderName()
1089 DE_ASSERT(instanceNdx == 0); in getShaderName()
1124 int instanceNdx, in generateCompareSrc() argument
1133 …tArraySize() == VarType::UNSIZED_ARRAY ? block.getLastUnsizedArraySize(instanceNdx) : curType.getA… in generateCompareSrc()
1136 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc()
1143 …generateCompareSrc(src, resultVar, bufferLayout, block, instanceNdx, blockPtr, bufVar, accessPath.… in generateCompareSrc()
1155 const string shaderName = getShaderName(block, instanceNdx, bufVar, accessPath.getPath()); in generateCompareSrc()
[all …]
Des31fSSBOLayoutCase.hpp100 …int getLastUnsizedArraySize (int instanceNdx) const { return m_lastUnsizedArraySizes[instanc… in getLastUnsizedArraySize()
101 …void setLastUnsizedArraySize (int instanceNdx, int size) { m_lastUnsizedArraySizes[instanceNdx in setLastUnsizedArraySize() argument
Des31fOpaqueTypeIndexingTests.cpp786 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() local
787 inValues[instanceNdx] = rnd.getUint32(); in iterate()
809 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in iterate() local
811 gl.bindBuffer(bufTarget, buffers[instanceNdx]); in iterate()
812 …gl.bufferData(bufTarget, (glw::GLsizeiptr)sizeof(deUint32), &inValues[instanceNdx], GL_STATIC_DRAW… in iterate()
813 gl.bindBufferBase(bufTarget, baseBinding+instanceNdx, buffers[instanceNdx]); in iterate()
Des31fFboTestUtil.cpp209 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
210 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
371 …const tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexN… in shadeVertices()
374 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des31fGeometryShaderTests.cpp215 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
217 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
322 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
324 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
449 …const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[nd… in shadeVertices()
451 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
807 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
809 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
942 …packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[n… in shadeVertices()
944 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets… in shadeVertices()
[all …]
Des31fSSBOLayoutTests.cpp166 for (int instanceNdx = 0; instanceNdx < (numInstances ? numInstances : 1); instanceNdx++) in generateBlock() local
169 block.setLastUnsizedArraySize(instanceNdx, arrSize); in generateBlock()
/external/deqp/modules/gles3/functional/
Des3fInstancedRenderingTests.cpp561 for (int instanceNdx = 0; instanceNdx < m_numInstances; instanceNdx++) in computeReference() local
563 int xStart = instanceNdx * wid / m_numInstances; in computeReference()
564 int xEnd = (instanceNdx + 1) * wid / m_numInstances; in computeReference()
568 … = m_instancingType == TYPE_ATTRIB_DIVISOR ? instanceNdx / ATTRIB_DIVISOR_R : instanceNdx; in computeReference()
569 …PE_ATTRIB_DIVISOR || m_instancingType == TYPE_MIXED ? instanceNdx / ATTRIB_DIVISOR_G : instanceNdx; in computeReference()
570 …PE_ATTRIB_DIVISOR || m_instancingType == TYPE_MIXED ? instanceNdx / ATTRIB_DIVISOR_B : instanceNdx; in computeReference()
Des3fFboTestUtil.cpp117 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
202 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
203 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
366 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
367 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
517 …tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).x… in shadeVertices()
520 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
627 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
628 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
735 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
[all …]
Des3fDepthTests.cpp94 …]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packet… in shadeVertices()
Des3fDrawTests.cpp619 …inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx) + rr::readVertexAttribFloat(inputs[… in shadeVertices()
620 …packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[2], packets[ndx]->instanceNdx, packets… in shadeVertices()
Des3fShaderBuiltinVarTests.cpp913 …packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.ve… in shadeVertices()
916 …INGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexN… in shadeVertices()
Des3fPolygonOffsetTests.cpp236 …packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.ve… in shadeVertices()
239 …INGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexN… in shadeVertices()
Des3fStencilTests.cpp97 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
/external/deqp/modules/glshared/
DglsUniformBlockCase.cpp603 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in computeStd140Layout() local
617 blockEntry.name += "[" + de::toString(instanceNdx) + "]"; in computeStd140Layout()
1071 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in generateCompareSrc() local
1073 …std::string instancePostfix = isArray ? string("[") + de::toString(instanceNdx) + "]" : string("… in generateCompareSrc()
1740 for (int instanceNdx = 0; instanceNdx < numInstances; instanceNdx++) in compareTypes() local
1746 instanceName << "[" << instanceNdx << "]"; in compareTypes()
DglsRandomShaderProgram.cpp194 …4 attribValue = rr::readVertexAttribFloat(inputs[attribNdx], packet->instanceNdx, packet->vertex… in shadeVertices()
DglsTextureBufferCase.cpp176 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
203 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
/external/deqp/modules/gles2/functional/
Des2fTextureSpecificationTests.cpp143 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
144 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
204 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
205 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
286 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
287 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fDepthTests.cpp91 …]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packet… in shadeVertices()
Des2fFboRenderTest.cpp96 …]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packet… in shadeVertices()
152 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
153 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
215 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
216 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fTextureUnitTests.cpp458 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
459 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des2fPolygonOffsetTests.cpp233 …packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.ve… in shadeVertices()
236 …INGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexN… in shadeVertices()
/external/deqp/modules/egl/
DteglRenderTests.cpp226 …packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.ve… in shadeVertices()
229 …ingLoc_Color] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexN… in shadeVertices()

12