/external/deqp/framework/referencerenderer/ |
D | rrVertexAttrib.hpp | 151 …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()
|
D | rrVertexAttrib.cpp | 491 …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()
|
D | rrVertexPacket.hpp | 57 int vertexNdx; //!< Vertex index. member
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
D | vktPipelineInputAssemblyTests.cpp | 360 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 …]
|
D | vktPipelineVertexUtil.cpp | 1072 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()
|
D | vktPipelineReferenceRenderer.cpp | 263 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()
|
D | vktPipelineSamplerTests.cpp | 676 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()
|
D | vktPipelineStencilTests.cpp | 579 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()
|
D | vktPipelineReferenceRenderer.hpp | 70 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()
|
D | vktPipelinePushConstantTests.cpp | 607 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()
|
D | vktPipelineBlendTests.cpp | 508 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()
|
D | vktPipelineDepthTests.cpp | 549 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/ |
D | es3fFboTestUtil.cpp | 117 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 …]
|
D | es3fPolygonOffsetTests.cpp | 236 …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/ |
D | vktTessellationUserDefinedIO.cpp | 929 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/ |
D | es31fShaderHelperInvocationTests.cpp | 127 for (int vertexNdx = 0; vertexNdx < numVerticesPerPrimitive; ++vertexNdx) in genVertices() local 129 const float p = (*dst)[primitiveNdx * numVerticesPerPrimitive + vertexNdx][component]; in genVertices()
|
D | es31fFboTestUtil.cpp | 209 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()
|
D | es31fGeometryShaderTests.cpp | 229 …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 …]
|
D | es31fSeparateShaderTests.cpp | 464 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/ |
D | es2fPolygonOffsetTests.cpp | 233 …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()
|
D | es2fTextureSpecificationTests.cpp | 143 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/ |
D | glsFragOpInteractionCase.cpp | 143 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()
|
D | glsVertexArrayTests.cpp | 844 …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()
|
D | glsDrawTest.cpp | 1222 …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/ |
D | vktDrawInstancedTests.cpp | 173 …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()
|