Home
last modified time | relevance | path

Searched refs:CreateBufferFromData (Results 1 – 25 of 93) sorted by relevance

1234

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DIndexFormatTests.cpp73 wgpu::Buffer vertexBuffer = utils::CreateBufferFromData<float>( in TEST_P()
79 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, {1, 2, 3}); in TEST_P()
101 wgpu::Buffer vertexBuffer = utils::CreateBufferFromData<float>( in TEST_P()
106 utils::CreateBufferFromData<uint16_t>(device, wgpu::BufferUsage::Index, {1, 2, 0, 0, 0, 0}); in TEST_P()
131 wgpu::Buffer vertexBuffer = utils::CreateBufferFromData<float>( in TEST_P()
137 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, {1, 2, 3}); in TEST_P()
162 wgpu::Buffer vertexBuffer = utils::CreateBufferFromData<float>( in TEST_P()
166 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, {0, 1, 2}); in TEST_P()
190 wgpu::Buffer vertexBuffer = utils::CreateBufferFromData<float>( in TEST_P()
194 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, {0, 1, 2}); in TEST_P()
[all …]
DComputeStorageBufferBarrierTests.cpp31 wgpu::Buffer buffer = utils::CreateBufferFromData( in TEST_P()
78 wgpu::Buffer bufferA = utils::CreateBufferFromData( in TEST_P()
81 wgpu::Buffer bufferB = utils::CreateBufferFromData( in TEST_P()
144 wgpu::Buffer bufferA = utils::CreateBufferFromData( in TEST_P()
147 wgpu::Buffer bufferB = utils::CreateBufferFromData( in TEST_P()
210 wgpu::Buffer bufferA = utils::CreateBufferFromData( in TEST_P()
214 wgpu::Buffer bufferB = utils::CreateBufferFromData( in TEST_P()
278 wgpu::Buffer bufferA = utils::CreateBufferFromData( in TEST_P()
282 wgpu::Buffer bufferB = utils::CreateBufferFromData( in TEST_P()
379 wgpu::Buffer buf = utils::CreateBufferFromData<uint32_t>( in TEST_P()
[all …]
DCommandEncoderTests.cpp22 wgpu::Buffer bufferA = utils::CreateBufferFromData( in TEST_P()
24 wgpu::Buffer bufferB = utils::CreateBufferFromData( in TEST_P()
26 wgpu::Buffer bufferC = utils::CreateBufferFromData( in TEST_P()
DFirstIndexOffsetTests.cpp163 wgpu::Buffer vertices = utils::CreateBufferFromData( in TestImpl()
166 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, {0}); in TestImpl()
170 wgpu::Buffer buffer = utils::CreateBufferFromData( in TestImpl()
181 …indirectBuffer = utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1,… in TestImpl()
186 …indirectBuffer = utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Indirect, {1, 1,… in TestImpl()
DBindGroupTests.cpp213 utils::CreateBufferFromData(device, &data, sizeof(data), wgpu::BufferUsage::Uniform); in TEST_P()
278 wgpu::Buffer buffer = utils::CreateBufferFromData(device, &transform, sizeof(transform), in TEST_P()
313 utils::CreateBufferFromData(device, data.data(), sizeInBytes, wgpu::BufferUsage::CopySrc); in TEST_P()
404 utils::CreateBufferFromData(device, &data[i], sizeof(Data), wgpu::BufferUsage::Uniform); in TEST_P()
573 utils::CreateBufferFromData(device, &color, sizeof(color), wgpu::BufferUsage::Uniform); in TEST_P()
617 utils::CreateBufferFromData(device, &color, sizeof(color), wgpu::BufferUsage::Uniform); in TEST_P()
668 utils::CreateBufferFromData(device, data.data(), data.size(), wgpu::BufferUsage::Uniform); in TEST_P()
738 utils::CreateBufferFromData(device, data.data(), data.size(), wgpu::BufferUsage::Uniform); in TEST_P()
828 utils::CreateBufferFromData(device, data.data(), data.size(), wgpu::BufferUsage::Uniform); in TEST_P()
831 utils::CreateBufferFromData(device, data.data(), data.size(), wgpu::BufferUsage::Storage); in TEST_P()
[all …]
DComputeDispatchTests.cpp86 wgpu::Buffer dst = utils::CreateBufferFromData<uint32_t>( in DirectTest()
122 wgpu::Buffer dst = utils::CreateBufferFromData<uint32_t>( in IndirectTest()
127 wgpu::Buffer indirectBuffer = utils::CreateBufferFromData( in IndirectTest()
146 utils::CreateBufferFromData(device, &indirectBufferData[indirectStart], in IndirectTest()
DDrawIndexedTests.cpp53 vertexBuffer = utils::CreateBufferFromData<float>( in SetUp()
62 indexBuffer = utils::CreateBufferFromData<uint32_t>( in SetUp()
68 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::Index, {}); in SetUp()
DSamplerFilterAnisotropicTests.cpp126 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in InitTexture()
172 wgpu::Buffer transformBuffer = utils::CreateBufferFromData( in TestFilterAnisotropic()
187 wgpu::Buffer vertexBuffer = utils::CreateBufferFromData( in TestFilterAnisotropic()
DRenderBundleTests.cpp67 wgpu::Buffer buffer0 = utils::CreateBufferFromData(device, colors0, 4 * sizeof(float), in SetUp()
69 wgpu::Buffer buffer1 = utils::CreateBufferFromData(device, colors1, 4 * sizeof(float), in SetUp()
77 vertexBuffer = utils::CreateBufferFromData<float>( in SetUp()
DShaderFloat16Tests.cpp45 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P()
49 wgpu::Buffer bufferIn = utils::CreateBufferFromData(device, &bufferInData, sizeof(bufferInData), in TEST_P()
DDeviceInitializationTests.cpp73 utils::CreateBufferFromData<uint32_t>(device, wgpu::BufferUsage::CopySrc, {1, 2, 3, 4}); in TEST_F()
75 wgpu::Buffer dst = utils::CreateBufferFromData<uint32_t>( in TEST_F()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DIndexFormatTests.cpp69 …dawn::Buffer vertexBuffer = utils::CreateBufferFromData<float>(device, dawn::BufferUsageBit::Verte… in TEST_P()
76 …dawn::Buffer indexBuffer = utils::CreateBufferFromData<uint32_t>(device, dawn::BufferUsageBit::Ind… in TEST_P()
101 …dawn::Buffer vertexBuffer = utils::CreateBufferFromData<float>(device, dawn::BufferUsageBit::Verte… in TEST_P()
107 …dawn::Buffer indexBuffer = utils::CreateBufferFromData<uint16_t>(device, dawn::BufferUsageBit::Ind… in TEST_P()
144 …dawn::Buffer vertexBuffer = utils::CreateBufferFromData<float>(device, dawn::BufferUsageBit::Verte… in TEST_P()
151 …dawn::Buffer indexBuffer = utils::CreateBufferFromData<uint32_t>(device, dawn::BufferUsageBit::Ind… in TEST_P()
178 …dawn::Buffer vertexBuffer = utils::CreateBufferFromData<float>(device, dawn::BufferUsageBit::Verte… in TEST_P()
185 …dawn::Buffer indexBuffer = utils::CreateBufferFromData<uint16_t>(device, dawn::BufferUsageBit::Ind… in TEST_P()
219 …dawn::Buffer vertexBuffer = utils::CreateBufferFromData<float>(device, dawn::BufferUsageBit::Verte… in TEST_P()
226 …dawn::Buffer indexBuffer = utils::CreateBufferFromData<uint32_t>(device, dawn::BufferUsageBit::Ind… in TEST_P()
[all …]
DComputeIndirectTests.cpp70 dawn::Buffer dst = utils::CreateBufferFromData<uint32_t>(device, in BasicTest()
79 utils::CreateBufferFromData<uint32_t>(device, dawn::BufferUsageBit::Indirect, bufferList); in BasicTest()
82 utils::CreateBufferFromData(device, &indirectBufferData[indirectOffset / sizeof(uint32_t)], in BasicTest()
DDrawIndexedIndirectTests.cpp57 vertexBuffer = utils::CreateBufferFromData<float>( in SetUp()
66 indexBuffer = utils::CreateBufferFromData<uint32_t>( in SetUp()
83 dawn::Buffer indirectBuffer = utils::CreateBufferFromData<uint32_t>( in Test()
DDrawIndirectTests.cpp57 vertexBuffer = utils::CreateBufferFromData<float>( in SetUp()
74 dawn::Buffer indirectBuffer = utils::CreateBufferFromData<uint32_t>( in Test()
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDrawCallPerf.cpp300 mVertexBuffers[0] = utils::CreateBufferFromData( in SetUp()
306 mVertexBuffers[i] = utils::CreateBufferFromData( in SetUp()
318 mVertexBuffers[0] = utils::CreateBufferFromData(device, data.data(), data.size(), in SetUp()
404 wgpu::Buffer constantBuffer = utils::CreateBufferFromData( in SetUp()
414 mUniformBuffers[0] = utils::CreateBufferFromData( in SetUp()
423 mUniformBuffers[i] = utils::CreateBufferFromData( in SetUp()
432 mUniformBuffers[i] = utils::CreateBufferFromData( in SetUp()
442 mUniformBuffers[0] = utils::CreateBufferFromData( in SetUp()
DShaderRobustnessPerf.cpp419 utils::CreateBufferFromData(device, dataA.data(), byteASize, wgpu::BufferUsage::Storage); in SetUp()
425 utils::CreateBufferFromData(device, dataB.data(), byteBSize, wgpu::BufferUsage::Storage); in SetUp()
434 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in SetUp()
/third_party/skia/third_party/externals/dawn/src/dawn_native/utils/
DWGPUHelpers.h31 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device,
37 ResultOrError<Ref<BufferBase>> CreateBufferFromData(DeviceBase* device, in CreateBufferFromData() function
40 return CreateBufferFromData(device, usage, data.begin(), uint32_t(sizeof(T) * data.size())); in CreateBufferFromData()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp65 …indexBuffer = utils::CreateBufferFromData(device, indexData, sizeof(indexData), dawn::BufferUsageB… in initBuffers()
98 …vertexBuffer = utils::CreateBufferFromData(device, vertexData, sizeof(vertexData), dawn::BufferUsa… in initBuffers()
106 …planeBuffer = utils::CreateBufferFromData(device, planeData, sizeof(planeData), dawn::BufferUsageB… in initBuffers()
183 …transformBuffer[0] = utils::CreateBufferFromData(device, &transform, sizeof(glm::mat4), dawn::Buff… in init()
186 …transformBuffer[1] = utils::CreateBufferFromData(device, &transform, sizeof(glm::mat4), dawn::Buff… in init()
DCppHelloTriangle.cpp41 …indexBuffer = utils::CreateBufferFromData(device, indexData, sizeof(indexData), dawn::BufferUsageB… in initBuffers()
48 …vertexBuffer = utils::CreateBufferFromData(device, vertexData, sizeof(vertexData), dawn::BufferUsa… in initBuffers()
73 dawn::Buffer stagingBuffer = utils::CreateBufferFromData( in initTextures()
/third_party/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp59 utils::CreateBufferFromData(device, indexData, sizeof(indexData), wgpu::BufferUsage::Index); in initBuffers()
79 vertexBuffer = utils::CreateBufferFromData(device, vertexData, sizeof(vertexData), in initBuffers()
86 planeBuffer = utils::CreateBufferFromData(device, planeData, sizeof(planeData), in initBuffers()
170 transformBuffer[0] = utils::CreateBufferFromData(device, &transform, sizeof(glm::mat4), in init()
174 transformBuffer[1] = utils::CreateBufferFromData(device, &transform, sizeof(glm::mat4), in init()
DCppHelloTriangle.cpp45 utils::CreateBufferFromData(device, indexData, sizeof(indexData), wgpu::BufferUsage::Index); in initBuffers()
50 vertexBuffer = utils::CreateBufferFromData(device, vertexData, sizeof(vertexData), in initBuffers()
74 wgpu::Buffer stagingBuffer = utils::CreateBufferFromData( in initTextures()
/third_party/flutter/skia/third_party/externals/dawn/src/utils/
DDawnHelpers.h36 dawn::Buffer CreateBufferFromData(const dawn::Device& device,
42 dawn::Buffer CreateBufferFromData(const dawn::Device& device, in CreateBufferFromData() function
45 return CreateBufferFromData(device, data.begin(), uint32_t(sizeof(T) * data.size()), usage); in CreateBufferFromData()
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp153 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P()
480 utils::CreateBufferFromData(device, &color, sizeof(color), wgpu::BufferUsage::Uniform); in TEST_P()
529 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P()
559 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P()
567 wgpu::Buffer lastUniformBuffer = utils::CreateBufferFromData( in TEST_P()
612 wgpu::Buffer firstUniformBuffer = utils::CreateBufferFromData( in TEST_P()
623 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P()
675 wgpu::Buffer firstUniformBuffer = utils::CreateBufferFromData( in TEST_P()
686 wgpu::Buffer uniformBuffer = utils::CreateBufferFromData( in TEST_P()
816 wgpu::Buffer transformBuffer = utils::CreateBufferFromData( in TEST_P()
[all …]
/third_party/skia/third_party/externals/dawn/src/utils/
DWGPUHelpers.h34 wgpu::Buffer CreateBufferFromData(const wgpu::Device& device,
40 wgpu::Buffer CreateBufferFromData(const wgpu::Device& device, in CreateBufferFromData() function
43 return CreateBufferFromData(device, data.begin(), uint32_t(sizeof(T) * data.size()), usage); in CreateBufferFromData()

1234