Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateComputeTests.cpp653 std::vector<deUint32> srcValues(m_params.states.size()); in iterateTransfer() local
654 const decltype(srcValues) dstValues(srcValues.size(), 0u); in iterateTransfer()
655 std::iota(begin(srcValues), end(srcValues), seqStart); in iterateTransfer()
657 const auto elemSize = static_cast<VkDeviceSize>(sizeof(decltype(srcValues)::value_type)); in iterateTransfer()
658 const auto dataSize = static_cast<VkDeviceSize>(de::dataSize(srcValues)); in iterateTransfer()
666 fillBuffer(vkd, device, srcBuffer, srcValues); in iterateTransfer()
705 decltype(srcValues) results (srcValues.size()); in iterateTransfer()
706 deMemcpy(results.data(), dstBufferAlloc.getHostPtr(), de::dataSize(srcValues)); in iterateTransfer()
708 for (size_t valueIdx = 0; valueIdx < srcValues.size(); ++valueIdx) in iterateTransfer()
710 const auto& orig = srcValues[valueIdx]; in iterateTransfer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DOverlayWidgets.cpp148 void GetGraphValues(const std::vector<size_t> srcValues, in GetGraphValues() argument
153 ASSERT(srcValues.size() <= kMaxGraphDataSize); in GetGraphValues()
155 for (size_t i = 0; i < srcValues.size(); ++i) in GetGraphValues()
157 size_t index = (startIndex + i) % srcValues.size(); in GetGraphValues()
158 valuesOut[i] = static_cast<uint32_t>(srcValues[index] * scale); in GetGraphValues()