/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 …]
|
D | LabelTests.cpp | 35 wgpu::BindGroup bindGroup = device.CreateBindGroup(&descriptor); in TEST_F() local 36 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroup.Get()); in TEST_F() 42 wgpu::BindGroup bindGroup = device.CreateBindGroup(&descriptor); in TEST_F() local 43 bindGroup.SetLabel(label.c_str()); in TEST_F() 44 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroup.Get()); in TEST_F() 51 wgpu::BindGroup bindGroup = device.CreateBindGroup(&descriptor); in TEST_F() local 52 std::string readbackLabel = dawn_native::GetObjectLabelForTesting(bindGroup.Get()); in TEST_F()
|
/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()
|
D | StorageTextureTests.cpp | 567 wgpu::BindGroup bindGroup = utils::MakeBindGroup( in CheckDrawsGreen() local 579 renderPassEncoder.SetBindGroup(0, bindGroup); in CheckDrawsGreen() 607 wgpu::BindGroup bindGroup = utils::MakeBindGroup( in CheckResultInStorageBuffer() local 613 computeEncoder.SetBindGroup(0, bindGroup); in CheckResultInStorageBuffer() 632 wgpu::BindGroup bindGroup = utils::MakeBindGroup( in WriteIntoStorageTextureInRenderPass() local 642 renderPassEncoder.SetBindGroup(0, bindGroup); in WriteIntoStorageTextureInRenderPass() 658 wgpu::BindGroup bindGroup = in WriteIntoStorageTextureInComputePass() local 664 computePassEncoder.SetBindGroup(0, bindGroup); in WriteIntoStorageTextureInComputePass() 681 wgpu::BindGroup bindGroup = in ReadWriteIntoStorageTextureInComputePass() local 688 computePassEncoder.SetBindGroup(0, bindGroup); in ReadWriteIntoStorageTextureInComputePass()
|
D | ShaderFloat16Tests.cpp | 153 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() local 163 pass.SetBindGroup(0, bindGroup); in TEST_P()
|
/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/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()
|
D | CppHelloTriangle.cpp | 36 wgpu::BindGroup bindGroup; variable 139 bindGroup = utils::MakeBindGroup(device, bgl, {{0, sampler}, {1, view}}); in init() 160 pass.SetBindGroup(0, bindGroup); 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()
|