Searched refs:bufData (Results 1 – 2 of 2) sorted by relevance
/third_party/node/test/parallel/ |
D | test-buffer-swap.js | 69 const bufData = new Uint32Array(256).fill(0x04030201); 70 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); 78 const bufData = new Uint32Array(256).fill(0x04030201); 79 const buf = Buffer.from(bufData.buffer); 87 const bufData = new Uint8Array(256 * 8); constant 89 for (let i = 0; i < bufData.length; i++) { 90 bufData[i] = i % 8; 93 const buf = Buffer.from(bufData.buffer, bufData.byteOffset); 101 const bufData = new Uint8Array(256 * 8); constant 103 for (let i = 0; i < bufData.length; i++) { [all …]
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fShaderAtomicOpTests.cpp | 213 vector<deUint8> bufData(blockInfo.dataSize); in iterate() local 214 std::fill(bufData.begin(), bufData.end(), 0); in iterate() 216 getInputs((int)numValues, (int)inVarInfo.arrayStride, &bufData[0] + inVarInfo.offset); in iterate() 221 …*(deUint32*)(&bufData[0] + groupVarInfo.offset + groupVarInfo.arrayStride*valNdx) = m_initialValue; in iterate() 225 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate() 1021 vector<deUint8> bufData (blockInfo.dataSize); in iterate() local 1023 std::fill(bufData.begin(), bufData.end(), 0); in iterate() 1026 *(deUint32*)(&bufData[0] + cmpVarInfo.offset + cmpVarInfo.arrayStride*ndx) = ndx%workGroupSize; in iterate() 1029 …*(deUint32*)(&bufData[0] + exhVarInfo.offset + exhVarInfo.arrayStride*ndx) = (ndx%workGroupSize)+1; in iterate() 1032 gl.bufferData(GL_SHADER_STORAGE_BUFFER, blockInfo.dataSize, &bufData[0], GL_STATIC_READ); in iterate()
|