Home
last modified time | relevance | path

Searched refs:gridPosComps (Results 1 - 3 of 3) sorted by relevance

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp258 std::vector<float> gridPosComps; in test() local
270 gridPosComps.reserve(totalNumPosComps); in test()
278 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1)); in test()
279 gridPosComps.push_back(-1.0f + 2.0f * ((float)i + 0.5f) / (float)(gridHeight+1)); in test()
326 DE_ASSERT(static_cast<int>(gridPosComps.size()) == totalNumPosComps); in test()
333 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) + sizeInBytes(gridIndices); in test()
335 const std::size_t vertexTessParamsOffset = sizeInBytes(gridPosComps); in test()
345 deMemcpy(pData + vertexPositionsOffset, &gridPosComps[0], static_cast<std::size_t>(sizeInBytes(gridPosComps))); in test()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/tessellation/
H A DvktTessellationCommonEdgeTests.cpp258 std::vector<float> gridPosComps; in test() local
270 gridPosComps.reserve(totalNumPosComps); in test()
278 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1)); in test()
279 gridPosComps.push_back(-1.0f + 2.0f * ((float)i + 0.5f) / (float)(gridHeight+1)); in test()
326 DE_ASSERT(static_cast<int>(gridPosComps.size()) == totalNumPosComps); in test()
333 const VkDeviceSize vertexDataSizeBytes = sizeInBytes(gridPosComps) + sizeInBytes(gridTessParams) + sizeInBytes(gridIndices); in test()
335 const std::size_t vertexTessParamsOffset = sizeInBytes(gridPosComps); in test()
345 deMemcpy(pData + vertexPositionsOffset, &gridPosComps[0], static_cast<std::size_t>(sizeInBytes(gridPosComps))); in test()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTessellationTests.cpp1766 vector<float> gridPosComps;
1770 gridPosComps.reserve(totalNumPosComps);
1778 gridPosComps.push_back(-1.0f + 2.0f * ((float)j + 0.5f) / (float)(gridWidth+1));
1779 gridPosComps.push_back(-1.0f + 2.0f * ((float)i + 0.5f) / (float)(gridHeight+1));
1831 DE_ASSERT((int)gridPosComps.size() == totalNumPosComps);
1845 glu::va::Float("in_v_position", numPosCompsPerVertex, numVertices, 0, &gridPosComps[0]),

Completed in 14 milliseconds