Home
last modified time | relevance | path

Searched refs:positionData (Results 1 – 2 of 2) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fVertexAttributeBindingTests.cpp1009 std::vector<tcu::Vec4> positionData (numPositionElements); in createBuffers() local
1016 positionData[primNdx*6 + 0] = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f); in createBuffers()
1017 positionData[primNdx*6 + 1] = tcu::Vec4(0.0f, 2.0f / GRID_SIZE, 0.0f, 1.0f); in createBuffers()
1018 positionData[primNdx*6 + 2] = tcu::Vec4(2.0f / GRID_SIZE, 2.0f / GRID_SIZE, 0.0f, 1.0f); in createBuffers()
1019 positionData[primNdx*6 + 3] = tcu::Vec4(0.0f, 0.0f, 0.0f, 1.0f); in createBuffers()
1020 positionData[primNdx*6 + 4] = tcu::Vec4(2.0f / GRID_SIZE, 2.0f / GRID_SIZE, 0.0f, 1.0f); in createBuffers()
1021 positionData[primNdx*6 + 5] = tcu::Vec4(2.0f / GRID_SIZE, 0.0f, 0.0f, 1.0f); in createBuffers()
1042 …gl.bufferData(GL_ARRAY_BUFFER, (int)(positionData.size() * sizeof(tcu::Vec4)), positionData[0].get… in createBuffers()
/external/deqp/external/vulkancts/modules/vulkan/rasterization/
DvktRasterizationTests.cpp606 …::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, const std::vec… in drawPrimitives() argument
613 const size_t attributeBatchSize = positionData.size() * sizeof(tcu::Vec4); in drawPrimitives()
721 deMemcpy(vertexBufferMemory->getHostPtr(), positionData.data(), attributeBatchSize); in drawPrimitives()
758 vkd.cmdDraw(*commandBuffer, (deUint32)positionData.size(), 1, 0, 0); in drawPrimitives()
2182 …wPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, VkPrimitiveTop…
2434 …::drawPrimitives (tcu::Surface& result, const std::vector<tcu::Vec4>& positionData, VkPrimitiveTop… in drawPrimitives() argument
2443 const size_t attributeBatchSize = positionData.size() * sizeof(tcu::Vec4); in drawPrimitives()
2544 …const std::vector<tcu::Vec4> colorData (positionData.size(), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0… in drawPrimitives()
2552 deMemcpy(vertexBufferMemory->getHostPtr(), positionData.data(), attributeBatchSize); in drawPrimitives()
2593 vkd.cmdDraw(*commandBuffer, (deUint32)positionData.size(), 1, 0, 0); in drawPrimitives()