Home
last modified time | relevance | path

Searched refs:bindGroup (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/
DBindGroupValidationTests.cpp560 void TestRenderPassBindGroup(dawn::BindGroup bindGroup, in TestRenderPassBindGroup() argument
570 renderPassEncoder.SetBindGroup(0, bindGroup, count, offsets); in TestRenderPassBindGroup()
580 void TestComputePassBindGroup(dawn::BindGroup bindGroup, in TestComputePassBindGroup() argument
589 computePassEncoder.SetBindGroup(0, bindGroup, count, offsets); in TestComputePassBindGroup()
605 dawn::BindGroup bindGroup = utils::MakeBindGroup( in TEST_F() local
611 TestRenderPassBindGroup(bindGroup, offsets.data(), 2, true); in TEST_F()
613 TestComputePassBindGroup(bindGroup, offsets.data(), 2, true); in TEST_F()
621 dawn::BindGroup bindGroup = utils::MakeBindGroup( in TEST_F() local
628 TestRenderPassBindGroup(bindGroup, mismatchOffsets.data(), 1, false); in TEST_F()
630 TestComputePassBindGroup(bindGroup, mismatchOffsets.data(), 1, false); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DExternalTextureTests.cpp176 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() local
190 pass.SetBindGroup(0, bindGroup); in TEST_F()
205 pass.SetBindGroup(0, bindGroup); in TEST_F()
228 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() local
242 pass.SetBindGroup(0, bindGroup); in TEST_F()
257 pass.SetBindGroup(0, bindGroup); in TEST_F()
280 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() local
289 pass.SetBindGroup(0, bindGroup); in TEST_F()
304 pass.SetBindGroup(0, bindGroup); in TEST_F()
327 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, externalTexture}}); in TEST_F() local
[all …]
DTextureSubresourceTests.cpp62 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, samplerView}}); in TestRenderPass() local
65 pass.SetBindGroup(0, bindGroup); in TestRenderPass()
75 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, renderView}}); in TestRenderPass() local
78 pass.SetBindGroup(0, bindGroup); in TestRenderPass()
86 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, samplerView}}); in TestRenderPass() local
99 pass.SetBindGroup(0, bindGroup); in TestRenderPass()
DBindGroupValidationTests.cpp1469 void TestRenderPassBindGroup(wgpu::BindGroup bindGroup, in TestRenderPassBindGroup() argument
1479 if (bindGroup != nullptr) { in TestRenderPassBindGroup()
1480 renderPassEncoder.SetBindGroup(0, bindGroup, count, offsets); in TestRenderPassBindGroup()
1491 void TestComputePassBindGroup(wgpu::BindGroup bindGroup, in TestComputePassBindGroup() argument
1500 if (bindGroup != nullptr) { in TestComputePassBindGroup()
1501 computePassEncoder.SetBindGroup(0, bindGroup, count, offsets); in TestComputePassBindGroup()
1523 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, mBindGroupLayout, in TEST_F() local
1531 TestRenderPassBindGroup(bindGroup, offsets.data(), 3, true); in TEST_F()
1533 TestComputePassBindGroup(bindGroup, offsets.data(), 3, true); in TEST_F()
1548 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, mBindGroupLayout, in TEST_F() local
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DBindGroupTests.cpp26 const dawn::ComputePipeline& pipeline, const dawn::BindGroup& bindGroup) { in CreateSimpleComputeCommandBuffer() argument
30 pass.SetBindGroup(0, bindGroup, 0, nullptr); in CreateSimpleComputeCommandBuffer()
84 dawn::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, {{0, buffer, 0, sizeof(float)}}); in TEST_P() local
87 cb[0] = CreateSimpleComputeCommandBuffer(cp, bindGroup); in TEST_P()
88 cb[1] = CreateSimpleComputeCommandBuffer(cp, bindGroup); in TEST_P()
152 dawn::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, { in TEST_P() local
160 pass.SetBindGroup(0, bindGroup, 0, nullptr); in TEST_P()
265 dawn::BindGroup bindGroup = utils::MakeBindGroup(device, bgl, { in TEST_P() local
279 pass.SetBindGroup(0, bindGroup, 0, nullptr); in TEST_P()
446 dawn::BindGroup bindGroup = utils::MakeBindGroup( in TEST_P() local
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBindGroupLayoutD3D12.cpp144 Ref<BindGroup> bindGroup = AcquireRef<BindGroup>( in AllocateBindGroup() local
150 bindGroup.Get(), mSamplerAllocator)); in AllocateBindGroup()
151 bindGroup->SetSamplerAllocationEntry(std::move(samplerHeapCacheEntry)); in AllocateBindGroup()
154 return bindGroup; in AllocateBindGroup()
157 void BindGroupLayout::DeallocateBindGroup(BindGroup* bindGroup, in DeallocateBindGroup() argument
163 mBindGroupAllocator.Deallocate(bindGroup); in DeallocateBindGroup()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DGpuMemorySynchronizationTests.cpp52 wgpu::BindGroup bindGroup = in CreatePipelineAndBindGroupForCompute() local
54 return std::make_tuple(pipeline, bindGroup); in CreatePipelineAndBindGroupForCompute()
83 wgpu::BindGroup bindGroup = in CreatePipelineAndBindGroupForRender() local
85 return std::make_tuple(pipeline, bindGroup); in CreatePipelineAndBindGroupForRender()
98 wgpu::BindGroup bindGroup; in TEST_P() local
99 std::tie(compute, bindGroup) = CreatePipelineAndBindGroupForCompute(buffer); in TEST_P()
107 pass.SetBindGroup(0, bindGroup); in TEST_P()
130 wgpu::BindGroup bindGroup; in TEST_P() local
131 std::tie(render, bindGroup) = in TEST_P()
140 pass.SetBindGroup(0, bindGroup); in TEST_P()
[all …]
DComputeDispatchTests.cpp92 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DirectTest() local
102 pass.SetBindGroup(0, bindGroup); in DirectTest()
134 wgpu::BindGroup bindGroup; in IndirectTest() local
139 bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in IndirectTest()
148 bindGroup = in IndirectTest()
161 pass.SetBindGroup(0, bindGroup); in IndirectTest()
DBindGroupTests.cpp32 const wgpu::BindGroup& bindGroup) { in CreateSimpleComputeCommandBuffer() argument
36 pass.SetBindGroup(0, bindGroup); in CreateSimpleComputeCommandBuffer()
150 wgpu::BindGroup bindGroup = in TEST_P() local
154 cb[0] = CreateSimpleComputeCommandBuffer(cp, bindGroup); in TEST_P()
155 cb[1] = CreateSimpleComputeCommandBuffer(cp, bindGroup); in TEST_P()
214 wgpu::BindGroup bindGroup = utils::MakeBindGroup( in TEST_P() local
221 pass.SetBindGroup(0, bindGroup); in TEST_P()
315 wgpu::BindGroup bindGroup = in TEST_P() local
327 pass.SetBindGroup(0, bindGroup); in TEST_P()
574 wgpu::BindGroup bindGroup = in TEST_P() local
[all …]
DComputeSharedMemoryTests.cpp48 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in BasicTest() local
58 pass.SetBindGroup(0, bindGroup); in BasicTest()
170 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() local
180 pass.SetBindGroup(0, bindGroup); in TEST_P()
DDepthStencilSamplingTests.cpp292 wgpu::BindGroup bindGroup = in DoSamplingTestImpl() local
315 pass.SetBindGroup(0, bindGroup); in DoSamplingTestImpl()
347 wgpu::BindGroup bindGroup = in DoSamplingTestImpl() local
367 pass.SetBindGroup(0, bindGroup); in DoSamplingTestImpl()
500 wgpu::BindGroup bindGroup = in DoDepthCompareRefTest() local
519 pass.SetBindGroup(0, bindGroup); in DoDepthCompareRefTest()
549 wgpu::BindGroup bindGroup = in DoDepthCompareRefTest() local
565 pass.SetBindGroup(0, bindGroup); in DoDepthCompareRefTest()
651 wgpu::BindGroup bindGroup = in TEST_P() local
677 pass.SetBindGroup(0, bindGroup); in TEST_P()
[all …]
DMaxLimitTests.cpp82 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() local
90 pass.SetBindGroup(0, bindGroup); in TEST_P()
218 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() local
224 pass.SetBindGroup(0, bindGroup); in TEST_P()
DShaderTests.cpp85 wgpu::BindGroup bindGroup = in TEST_P() local
93 pass.SetBindGroup(0, bindGroup); in TEST_P()
450 wgpu::BindGroup bindGroup = in TEST_P() local
458 pass.SetBindGroup(0, bindGroup); in TEST_P()
506 wgpu::BindGroup bindGroup = in TEST_P() local
514 pass.SetBindGroup(0, bindGroup); in TEST_P()
558 wgpu::BindGroup bindGroup = in TEST_P() local
566 pass.SetBindGroup(0, bindGroup); in TEST_P()
DReadOnlyDepthStencilAttachmentTests.cpp171 wgpu::BindGroup bindGroup = utils::MakeBindGroup( in DoTest() local
174 pass.SetBindGroup(0, bindGroup); in DoTest()
177 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoTest() local
179 pass.SetBindGroup(0, bindGroup); in DoTest()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUComputePassEncoder.cpp84 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() argument
91 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
100 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() argument
107 if (!conv(bg, bindGroup)) { in setBindGroup()
DGPURenderBundleEncoder.cpp44 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() argument
51 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
60 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() argument
67 if (!conv(bg, bindGroup)) { in setBindGroup()
DGPURenderPassEncoder.cpp119 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() argument
126 if (!conv(bg, bindGroup) || !conv(offsets, num_offsets, dynamicOffsets)) { in setBindGroup()
135 interop::Interface<interop::GPUBindGroup> bindGroup, in setBindGroup() argument
142 if (!conv(bg, bindGroup)) { in setBindGroup()
/third_party/flutter/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp35 dawn::BindGroup bindGroup[2]; variable
188 bindGroup[0] = utils::MakeBindGroup(device, bgl, { in init()
193 bindGroup[1] = utils::MakeBindGroup(device, bgl, { in init()
270 pass.SetBindGroup(0, bindGroup[0], 0, nullptr); in frame()
277 pass.SetBindGroup(0, bindGroup[0], 0, nullptr); in frame()
283 pass.SetBindGroup(0, bindGroup[1], 0, nullptr); in frame()
DAnimometer.cpp29 dawn::BindGroup bindGroup; variable
140 bindGroup = in init()
162 pass.SetBindGroup(0, bindGroup, 1, &offset); in frame()
/third_party/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp36 wgpu::BindGroup bindGroup[2]; variable
177 bindGroup[0] = utils::MakeBindGroup( in init()
181 bindGroup[1] = utils::MakeBindGroup( in init()
273 pass.SetBindGroup(0, bindGroup[0]); in frame()
280 pass.SetBindGroup(0, bindGroup[0]); in frame()
286 pass.SetBindGroup(0, bindGroup[1]); in frame()
DAnimometer.cpp30 wgpu::BindGroup bindGroup; variable
147 bindGroup = utils::MakeBindGroup(device, bgl, {{0, ubo, 0, sizeof(ShaderData)}}); in init()
168 pass.SetBindGroup(0, bindGroup, 1, &offset); in frame()
/third_party/skia/src/gpu/dawn/
DGrDawnOpsRenderPass.cpp123 auto bindGroup = program->setUniformData(fGpu, fRenderTarget, programInfo); in applyState() local
125 fPassEncoder.SetBindGroup(0, bindGroup, 0, nullptr); in applyState()
168 auto bindGroup = fCurrentProgram->setTextures(fGpu, geomProc, pipeline, geomProcTextures); in onBindTextures() local
169 if (bindGroup) { in onBindTextures()
170 fPassEncoder.SetBindGroup(1, bindGroup, 0, nullptr); in onBindTextures()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DBindGroupTracker.h36 BindGroupBase* bindGroup, in OnSetBindGroup() argument
46 if (mBindGroups[index] != bindGroup) { in OnSetBindGroup()
56 mBindGroups[index] = bindGroup; in OnSetBindGroup()
DQueryHelper.cpp169 Ref<BindGroupBase> bindGroup; in EncodeConvertTimestampsToNanoseconds() local
170 DAWN_TRY_ASSIGN(bindGroup, in EncodeConvertTimestampsToNanoseconds()
179 pass->APISetBindGroup(0, bindGroup.Get()); in EncodeConvertTimestampsToNanoseconds()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DBindGroupLayoutGL.cpp33 void BindGroupLayout::DeallocateBindGroup(BindGroup* bindGroup) { in DeallocateBindGroup() argument
34 mBindGroupAllocator.Deallocate(bindGroup); in DeallocateBindGroup()

1234