Lines Matching refs:alloc
2474 void initializeMemory (Context& context, const Allocation& alloc, const subgroups::SSBOData& data)
2497 deUint8* ptr = reinterpret_cast<deUint8*>(alloc.getHostPtr());
2514 deUint16* ptr = reinterpret_cast<deUint16*>(alloc.getHostPtr());
2527 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr());
2545 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr());
2562 deUint64* ptr = reinterpret_cast<deUint64*>(alloc.getHostPtr());
2575 deFloat16* ptr = reinterpret_cast<deFloat16*>(alloc.getHostPtr());
2588 float* ptr = reinterpret_cast<float*>(alloc.getHostPtr());
2601 double* ptr = reinterpret_cast<double*>(alloc.getHostPtr());
2613 deUint32* ptr = reinterpret_cast<deUint32*>(alloc.getHostPtr());
2623 flushAlloc(context.getDeviceInterface(), context.getDevice(), alloc);
2708 const Allocation& alloc = inputBuffers[i]->getAllocation();
2709 initializeMemory(context, alloc, extraData[i]);
2782 const Allocation& alloc = vertexBuffer.getAllocation();
2794 deMemcpy(alloc.getHostPtr(), &data[0], data.size() * sizeof(tcu::Vec4));
2795 flushAlloc(vk, device, alloc);
2947 const Allocation& alloc = inputBuffers[i]->getAllocation();
2948 initializeMemory(context, alloc, extraData[i]);
3015 const Allocation& alloc = vertexBuffer.getAllocation();
3026 deMemcpy(alloc.getHostPtr(), &data[0], maxWidth * sizeof(tcu::Vec4));
3027 flushAlloc(vk, device, alloc);
3043 const Allocation& alloc = inputBuffers[ndx]->getAllocation();
3044 initializeMemory(context, alloc, extraData[ndx]);
3246 const Allocation& alloc = inputBuffers[ndx]->getAllocation();
3247 initializeMemory(context, alloc, extraDatas[datasNdx]);
3351 const Allocation& alloc = inputBuffers[ndx]->getAllocation();
3352 initializeMemory(context, alloc, extraDatas[ndx - stagesCount]);
3431 const Allocation& alloc = inputBuffers[index]->getAllocation();
3432 invalidateAlloc(vk, device, alloc);
3434 datas.push_back(alloc.getHostPtr());
3515 const Allocation& alloc = inputBuffers[i]->getAllocation();
3516 initializeMemory(context, alloc, extraData[i]);
3553 const Allocation& alloc = inputBuffers[ndx]->getAllocation();
3554 initializeMemory(context, alloc, extraData[ndx]);
3597 const Allocation& alloc = vertexBuffer.getAllocation();
3608 deMemcpy(alloc.getHostPtr(), &data[0], maxWidth * sizeof(tcu::Vec4));
3609 flushAlloc(vk, device, alloc);
3625 const Allocation& alloc = inputBuffers[ndx]->getAllocation();
3626 initializeMemory(context, alloc, extraData[ndx]);
3726 const Allocation& alloc = inputBuffers[i]->getAllocation();
3728 initializeMemory(context, alloc, extraDatas[i]);
3818 const Allocation& alloc = inputBuffers[i]->getAllocation();
3820 initializeMemory(context, alloc, extraDatas[i]);
4088 const Allocation& alloc = inputBuffers[i]->getAllocation();
4090 initializeMemory(context, alloc, inputs[i]);
5049 const Allocation& alloc = inputBuffers[ndx]->getAllocation();
5051 initializeMemory(context, alloc, extraDatas[ndx - stagesCount]);