Home
last modified time | relevance | path

Searched refs:vertexNdx (Results 1 – 25 of 55) sorted by relevance

123

/external/deqp/framework/referencerenderer/
DrrVertexAttrib.hpp151 …dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI…
152 …dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI…
153 …dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI…
157 …oat (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI… in readVertexAttribFloat() argument
160 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); in readVertexAttribFloat()
164 …Int (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI… in readVertexAttribInt() argument
167 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); in readVertexAttribInt()
171 …int (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI… in readVertexAttribUint() argument
174 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); in readVertexAttribUint()
DrrVertexAttrib.cpp491 …dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI… in readVertexAttrib() argument
497 …instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; in readVertexAttrib()
511 …dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI… in readVertexAttrib() argument
517 …instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; in readVertexAttrib()
531 …dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseI… in readVertexAttrib() argument
537 …instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; in readVertexAttrib()
DrrVertexPacket.hpp57 int vertexNdx; //!< Vertex index. member
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineInputAssemblyTests.cpp360 for (int vertexNdx = 0; vertexNdx < 2; vertexNdx++) in createBufferData() local
364 …tcu::Vec4(originX + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(ve… in createBufferData()
369 indices.push_back((primitiveNdx * 2 + vertexNdx)); in createBufferData()
409 for (int vertexNdx = 0; vertexNdx < 3; vertexNdx++) in createBufferData() local
413 …(originX + float((primitiveNdx * 3 + vertexNdx) / 2) * primitiveSizeX, originY + float((primitiveN… in createBufferData()
418 indices.push_back(primitiveNdx * 3 + vertexNdx); in createBufferData()
428 for (int vertexNdx = 0; vertexNdx < 3; vertexNdx++) in createBufferData() local
432 …tcu::Vec4(originX + float(vertexNdx / 2) * primitiveSizeX, originY + float(vertexNdx % 2) * primit… in createBufferData()
437 indices.push_back(vertexNdx); in createBufferData()
501 for (int vertexNdx = 0; vertexNdx < 2; vertexNdx++) in createBufferData() local
[all …]
DvktPipelineVertexUtil.cpp1072 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in createQuadMosaicCube() local
1074 vertexItr->texCoord.xyz() = texCoordsCube[texCoordCubeIndices[quadNdx][vertexNdx]]; in createQuadMosaicCube()
1089 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in createQuadMosaicCubeArray() local
1115 for (size_t vertexNdx = 0; vertexNdx < 6; vertexNdx++) in createTestQuadMosaic() local
1116 vertices[quadNdx * 6 + vertexNdx].texCoord.y() = (float)quadNdx; in createTestQuadMosaic()
1128 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createTestQuadMosaic() local
1130 vertices[vertexNdx].texCoord.z() /= 5.0f; in createTestQuadMosaic()
1131 …vertices[vertexNdx].texCoord.z() -= 0.001f; // Substract small value to correct floating-point err… in createTestQuadMosaic()
DvktPipelineReferenceRenderer.cpp263 for (size_t vertexNdx = 0; vertexNdx < vertexBuffer.size(); vertexNdx++) in draw() local
265 const Vertex4RGBA& v = vertexBuffer[vertexNdx]; in draw()
295 for (size_t vertexNdx = 0; vertexNdx < vertexBuffer.size(); vertexNdx++) in draw() local
297 const Vertex4Tex4& v = vertexBuffer[vertexNdx]; in draw()
DvktPipelineSamplerTests.cpp676 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() local
677 vertices[vertexNdx].texCoord.x() = (vertices[vertexNdx].texCoord.x() - 0.5f) * 4.0f; in createVertices()
683 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() local
684 …vertices[vertexNdx].texCoord.xy() = (vertices[vertexNdx].texCoord.swizzle(0, 1) - tcu::Vec2(0.5f))… in createVertices()
689 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() local
690 …vertices[vertexNdx].texCoord.xyz() = (vertices[vertexNdx].texCoord.swizzle(0, 1, 2) - tcu::Vec3(0.… in createVertices()
DvktPipelineStencilTests.cpp579 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in StencilTestInstance() local
580 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; in StencilTestInstance()
702 for (size_t vertexNdx = 0; vertexNdx < cwVertices.size() - 2; vertexNdx += 3) in verifyImage() local
704 const Vertex4RGBA cwVertex1 = cwVertices[vertexNdx + 1]; in verifyImage()
706 cwVertices[vertexNdx + 1] = cwVertices[vertexNdx + 2]; in verifyImage()
707 cwVertices[vertexNdx + 2] = cwVertex1; in verifyImage()
DvktPipelineReferenceRenderer.hpp70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
105 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
106 readVertexAttrib(texCoord, inputs[1], packet->instanceNdx, packet->vertexNdx); in shadeVertices()
DvktPipelinePushConstantTests.cpp607 for (size_t vertexNdx = 0; vertexNdx < 3; vertexNdx++) in verifyImage() local
609 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); in verifyImage()
611 for (size_t vertexNdx = 3; vertexNdx < m_vertices.size(); vertexNdx++) in verifyImage() local
613 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 0.0f, 1.0f); in verifyImage()
769 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in setReferenceColor() local
771 m_vertices[vertexNdx].color.xyzw() = color; in setReferenceColor()
985 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in setReferenceColor() local
987 m_vertices[vertexNdx].color.xyzw() = expectedColor; in setReferenceColor()
DvktPipelineBlendTests.cpp508 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) in BlendTestInstance() local
509 …m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.l… in BlendTestInstance()
DvktPipelineDepthTests.cpp549 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) in DepthTestInstance() local
550 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; in DepthTestInstance()
/external/deqp/modules/gles3/functional/
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 …]
Des3fPolygonOffsetTests.cpp236 …osition = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
239 …LOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
531 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) in testPolygonOffset() local
532 triangle[vertexNdx] = genRandomVec4(rnd); in testPolygonOffset()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationUserDefinedIO.cpp929 for (int vertexNdx = 0; vertexNdx < numVertices; ++vertexNdx) in iterate() local
930 if (vertices[vertexNdx] > numTEInputs) in iterate()
933 << "Failure: out_te_firstFailedInputIndex has value " << vertices[vertexNdx] in iterate()
938 else if (vertices[vertexNdx] != numTEInputs) in iterate()
941 …<< basicSubobjectAtIndex(vertices[vertexNdx], m_tesInputs, topLevelArraySize) << " failed" << tcu:… in iterate()
/external/deqp/modules/gles31/functional/
Des31fShaderHelperInvocationTests.cpp127 for (int vertexNdx = 0; vertexNdx < numVerticesPerPrimitive; ++vertexNdx) in genVertices() local
129 const float p = (*dst)[primitiveNdx * numVerticesPerPrimitive + vertexNdx][component]; in genVertices()
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()
377 …u::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy(); in shadeVertices()
380 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
Des31fGeometryShaderTests.cpp229 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
231 …puts[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
336 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
338 …puts[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
462 …4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
464 …osition = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); in shadeVertices()
718 for (int vertexNdx = 0; vertexNdx < 3; ++vertexNdx) in genProgramDeclaration() local
724 …"\tgl_Position = vec4(" << ((vertexNdx==0) ? ("0.0, 0.0") : ((vertexNdx==1) ? ("1.0, 0.0") : ("1.0… in genProgramDeclaration()
736 geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "];\n"; in genProgramDeclaration()
740 …geometrySource << "\tinputColor = v_geom_0[" << vertexNdx << "] * 0.5 + v_geom_1[" << vertexNdx <<… in genProgramDeclaration()
[all …]
Des31fSeparateShaderTests.cpp464 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(s_quadrants); ++vertexNdx) in genVtxShaderSrc() local
470 printFloat(oss, s_quadrants[vertexNdx][componentNdx] * rnd.getInt(4,16) / 16.0); in genVtxShaderSrc()
474 oss << ")" << (vertexNdx < 2 ? "," : "") << "\n"; in genVtxShaderSrc()
/external/deqp/modules/gles2/functional/
Des2fPolygonOffsetTests.cpp233 …osition = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
236 …LOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
528 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) in testPolygonOffset() local
529 triangle[vertexNdx] = genRandomVec4(rnd); in testPolygonOffset()
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()
203 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
204 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
285 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
286 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); in shadeVertices()
/external/deqp/modules/glshared/
DglsFragOpInteractionCase.cpp143 static void setVertex (const glu::VertexArrayPointer& pointer, int vertexNdx, const tcu::Vector<flo… in setVertex() argument
148 DE_ASSERT(de::inBounds(vertexNdx, 0, pointer.numElements)); in setVertex()
150 float* dst = (float*)((deUint8*)pointer.data + pointer.stride*vertexNdx); in setVertex()
DglsVertexArrayTests.cpp844 …rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
845 … rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
846 …rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0… in shadeVertices()
1405 for (int vertexNdx = 0; vertexNdx < count; vertexNdx++) in generateArray() local
1409 …setData(&(data[vertexNdx * stride + Array::inputTypeSize(type) * componentNdx]), type, rnd, min, m… in generateArray()
DglsDrawTest.cpp1222 …rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numCo… in shadeVertices()
1223 … rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numCo… in shadeVertices()
1224 …rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), isCoord, numCo… in shadeVertices()
1587 for (int vertexNdx = 0; vertexNdx < elementCount; vertexNdx++) in createBasicArray() local
1596 …if (vertexNdx != 0 && abs(components[componentNdx] - previousComponents[componentNdx]) < minValue<… in createBasicArray()
1635 for (int vertexNdx = 0; vertexNdx < elementCount; vertexNdx++) in generatePackedArray() local
/external/deqp/external/vulkancts/modules/vulkan/draw/
DvktDrawInstancedTests.cpp173 …ibFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance… in shadeVertices()
174 …ibFloat(inputs[1], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance… in shadeVertices()
175 …ibFloat(inputs[2], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance… in shadeVertices()

123