/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | BindGroupValidationTests.cpp | 560 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/ |
D | ExternalTextureTests.cpp | 176 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 …]
|
D | TextureSubresourceTests.cpp | 62 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()
|
D | BindGroupValidationTests.cpp | 1469 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/ |
D | BindGroupTests.cpp | 26 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/ |
D | BindGroupLayoutD3D12.cpp | 144 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/ |
D | GpuMemorySynchronizationTests.cpp | 52 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 …]
|
D | ComputeDispatchTests.cpp | 92 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()
|
D | BindGroupTests.cpp | 32 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 …]
|
D | ComputeSharedMemoryTests.cpp | 48 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()
|
D | DepthStencilSamplingTests.cpp | 292 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 …]
|
D | MaxLimitTests.cpp | 82 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()
|
D | ShaderTests.cpp | 85 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()
|
D | ReadOnlyDepthStencilAttachmentTests.cpp | 171 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/ |
D | GPUComputePassEncoder.cpp | 84 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()
|
D | GPURenderBundleEncoder.cpp | 44 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()
|
D | GPURenderPassEncoder.cpp | 119 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/ |
D | CubeReflection.cpp | 35 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()
|
D | Animometer.cpp | 29 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/ |
D | CubeReflection.cpp | 36 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()
|
D | Animometer.cpp | 30 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/ |
D | GrDawnOpsRenderPass.cpp | 123 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/ |
D | BindGroupTracker.h | 36 BindGroupBase* bindGroup, in OnSetBindGroup() argument 46 if (mBindGroups[index] != bindGroup) { in OnSetBindGroup() 56 mBindGroups[index] = bindGroup; in OnSetBindGroup()
|
D | QueryHelper.cpp | 169 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/ |
D | BindGroupLayoutGL.cpp | 33 void BindGroupLayout::DeallocateBindGroup(BindGroup* bindGroup) { in DeallocateBindGroup() argument 34 mBindGroupAllocator.Deallocate(bindGroup); in DeallocateBindGroup()
|