/external/deqp/framework/referencerenderer/ |
rrVertexAttrib.hpp | 151 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0); 152 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0); 153 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0); 157 inline tcu::Vec4 readVertexAttribFloat (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0) 160 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); 164 inline tcu::IVec4 readVertexAttribInt (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0) 167 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx); 171 inline tcu::UVec4 readVertexAttribUint (const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx = 0) 174 readVertexAttrib(v, vertexAttrib, instanceNdx, vertexNdx, baseInstanceNdx);
|
rrVertexPacket.hpp | 57 int vertexNdx; //!< Vertex index.
|
rrVertexAttrib.cpp | 491 void readVertexAttrib (tcu::Vec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx) 497 const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; 511 void readVertexAttrib (tcu::IVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx) 517 const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx; 531 void readVertexAttrib (tcu::UVec4& dst, const VertexAttrib& vertexAttrib, const int instanceNdx, const int vertexNdx, const int baseInstanceNdx) 537 const int elementNdx = (vertexAttrib.instanceDivisor != 0) ? baseInstanceNdx + (instanceNdx / vertexAttrib.instanceDivisor) : vertexNdx;
|
/external/deqp/external/vulkancts/modules/vulkan/pipeline/ |
vktPipelineInputAssemblyTests.cpp | 360 for (int vertexNdx = 0; vertexNdx < 2; vertexNdx++) 364 tcu::Vec4(originX + float((primitiveNdx * 2 + vertexNdx) / 2) * primitiveSizeX, originY + float(vertexNdx % 2) * primitiveSizeY, 0.0f, 1.0f), 369 indices.push_back((primitiveNdx * 2 + vertexNdx)); 409 for (int vertexNdx = 0; vertexNdx < 3; vertexNdx++) 413 tcu::Vec4(originX + float((primitiveNdx * 3 + vertexNdx) / 2) * primitiveSizeX, originY + float((primitiveNdx * 3 + vertexNdx)% 2) * primitiveSizeY, 0.0f, (…) [all...] |
vktPipelineVertexUtil.cpp | 1072 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) 1074 vertexItr->texCoord.xyz() = texCoordsCube[texCoordCubeIndices[quadNdx][vertexNdx]]; 1089 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) 1115 for (size_t vertexNdx = 0; vertexNdx < 6; vertexNdx++ [all...] |
vktPipelineReferenceRenderer.cpp | 263 for (size_t vertexNdx = 0; vertexNdx < vertexBuffer.size(); vertexNdx++) 265 const Vertex4RGBA& v = vertexBuffer[vertexNdx]; 295 for (size_t vertexNdx = 0; vertexNdx < vertexBuffer.size(); vertexNdx++) 297 const Vertex4Tex4& v = vertexBuffer[vertexNdx];
|
vktPipelineReferenceRenderer.hpp | 70 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); 71 readVertexAttrib(color, inputs[1], packet->instanceNdx, packet->vertexNdx); 105 readVertexAttrib(position, inputs[0], packet->instanceNdx, packet->vertexNdx); 106 readVertexAttrib(texCoord, inputs[1], packet->instanceNdx, packet->vertexNdx);
|
vktPipelineSamplerTests.cpp | 676 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) 677 vertices[vertexNdx].texCoord.x() = (vertices[vertexNdx].texCoord.x() - 0.5f) * 4.0f; 683 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) 684 vertices[vertexNdx].texCoord.xy() = (vertices[vertexNdx].texCoord.swizzle(0, 1) - tcu::Vec2(0.5f)) * 4.0f [all...] |
vktPipelineStencilTests.cpp | 579 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) 580 m_vertices[quadNdx * 6 + vertexNdx].position.z() = StencilTest::s_quadDepths[quadNdx]; 702 for (size_t vertexNdx = 0; vertexNdx < cwVertices.size() - 2; vertexNdx += 3) 704 const Vertex4RGBA cwVertex1 = cwVertices[vertexNdx + 1]; 706 cwVertices[vertexNdx + 1] = cwVertices[vertexNdx + 2] [all...] |
vktPipelinePushConstantTests.cpp | 607 for (size_t vertexNdx = 0; vertexNdx < 3; vertexNdx++) 609 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 1.0f, 0.0f); 611 for (size_t vertexNdx = 3; vertexNdx < m_vertices.size(); vertexNdx++) 613 m_vertices[vertexNdx].color.xyz() = tcu::Vec3(0.0f, 0.0f, 1.0f); 769 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++ [all...] |
vktPipelineBlendTests.cpp | 508 for (size_t vertexNdx = 0; vertexNdx < m_vertices.size(); vertexNdx++) 509 m_vertices[vertexNdx].color = (m_vertices[vertexNdx].color - formatInfo.lookupBias) / formatInfo.lookupScale; [all...] |
vktPipelineDepthTests.cpp | 549 for (int vertexNdx = 0; vertexNdx < 6; vertexNdx++) 550 m_vertices[quadNdx * 6 + vertexNdx].position.z() = DepthTest::quadDepths[quadNdx]; [all...] |
/external/deqp/modules/gles3/functional/ |
es3fFboTestUtil.cpp | 117 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 202 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 203 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); 366 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 367 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); 517 tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy(); 520 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 627 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 628 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); 735 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); [all...] |
es3fPolygonOffsetTests.cpp | 236 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 239 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); 531 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) 532 triangle[vertexNdx] = genRandomVec4(rnd); [all...] |
es3fDepthTests.cpp | 94 packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx);
|
/external/deqp/modules/gles31/functional/ |
es31fShaderHelperInvocationTests.cpp | 127 for (int vertexNdx = 0; vertexNdx < numVerticesPerPrimitive; ++vertexNdx) 129 const float p = (*dst)[primitiveNdx * numVerticesPerPrimitive + vertexNdx][component];
|
es31fFboTestUtil.cpp | 209 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx); 210 packet.outputs[0] = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx); 377 const tcu::Vec2 a_coord = rr::readVertexAttribFloat(inputs[1], packet.instanceNdx, packet.vertexNdx).xy(); 380 packet.position = rr::readVertexAttribFloat(inputs[0], packet.instanceNdx, packet.vertexNdx);
|
es31fGeometryShaderTests.cpp | 229 packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); 231 packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); 336 packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); 338 packets[ndx]->outputs[0] = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); 462 const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); 464 packets[ndx]->position = rr::readVertexAttribFloat(inputs[0], packets[ndx]->instanceNdx, packets[ndx]->vertexNdx); 718 for (int vertexNdx = 0; vertexNdx < 3; ++vertexNdx) 724 "\tgl_Position = vec4(" << ((vertexNdx==0) ? ("0.0, 0.0") : ((vertexNdx==1) ? ("1.0, 0.0") : ("1.0, 1.0"))) << ", 0.0, 1.0) + offset;\n [all...] |
es31fSeparateShaderTests.cpp | 464 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(s_quadrants); ++vertexNdx) 470 printFloat(oss, s_quadrants[vertexNdx][componentNdx] * rnd.getInt(4,16) / 16.0); 474 oss << ")" << (vertexNdx < 2 ? "," : "") << "\n"; [all...] |
/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
vktTessellationUserDefinedIO.cpp | [all...] |
/external/deqp/modules/gles2/functional/ |
es2fPolygonOffsetTests.cpp | 233 packet.position = rr::readVertexAttribFloat(inputs[positionAttrLoc], packet.instanceNdx, packet.vertexNdx); 236 packet.outputs[VARYINGLOC_COLOR] = rr::readVertexAttribFloat(inputs[colorAttrLoc], packet.instanceNdx, packet.vertexNdx); 528 for (int vertexNdx = 0; vertexNdx < DE_LENGTH_OF_ARRAY(triangle); ++vertexNdx) 529 triangle[vertexNdx] = genRandomVec4(rnd); [all...] |
es2fDepthTests.cpp | 91 packets[packetNdx]->position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx);
|
/external/deqp/external/vulkancts/modules/vulkan/draw/ |
vktDrawInstancedTests.cpp | 173 const tcu::Vec4 position = rr::readVertexAttribFloat(inputs[0], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance); 174 const tcu::Vec4 color = rr::readVertexAttribFloat(inputs[1], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance); 175 const tcu::Vec4 color2 = rr::readVertexAttribFloat(inputs[2], packets[packetNdx]->instanceNdx, packets[packetNdx]->vertexNdx, m_firstInstance);
|
/external/deqp/modules/glshared/ |
glsFragOpInteractionCase.cpp | 143 static void setVertex (const glu::VertexArrayPointer& pointer, int vertexNdx, const tcu::Vector<float, Size>& value) 148 DE_ASSERT(de::inBounds(vertexNdx, 0, pointer.numElements)); 150 float* dst = (float*)((deUint8*)pointer.data + pointer.stride*vertexNdx);
|
glsVertexArrayTests.cpp | 844 case rr::GENERICVECTYPE_FLOAT: calcShaderColorCoord(coord, color, rr::readVertexAttribFloat(inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break; 845 case rr::GENERICVECTYPE_INT32: calcShaderColorCoord(coord, color, rr::readVertexAttribInt (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break; 846 case rr::GENERICVECTYPE_UINT32: calcShaderColorCoord(coord, color, rr::readVertexAttribUint (inputs[attribNdx], packet.instanceNdx, packet.vertexNdx), attribNdx == 0, numComponents); break; [all...] |