/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | GetBindGroupLayoutValidationTests.cpp | 86 EXPECT_EQ(pipeline.GetBindGroupLayout(0).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F() 89 EXPECT_EQ(pipeline.GetBindGroupLayout(0).Get(), pipeline.GetBindGroupLayout(1).Get()); in TEST_F() 92 EXPECT_NE(pipeline.GetBindGroupLayout(2).Get(), pipeline.GetBindGroupLayout(3).Get()); in TEST_F() 95 EXPECT_NE(pipeline.GetBindGroupLayout(0).Get(), pipeline.GetBindGroupLayout(2).Get()); in TEST_F() 110 ASSERT_DEVICE_ERROR(utils::MakePipelineLayout(device, {pipeline.GetBindGroupLayout(0)})); in TEST_F() 145 EXPECT_NE(device.CreateBindGroupLayout(&desc).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F() 149 EXPECT_NE(device.CreateBindGroupLayout(&desc).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F() 152 EXPECT_NE(device.CreateBindGroupLayout(&desc).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F() 157 EXPECT_NE(device.CreateBindGroupLayout(&desc).Get(), pipeline.GetBindGroupLayout(0).Get()); in TEST_F() 233 return device.CreateRenderPipeline(&descriptor).GetBindGroupLayout(0); in TEST_F() [all …]
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | ComputeStorageBufferBarrierTests.cpp | 53 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer, 0, bufferSize}}); in TEST_P() 103 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 109 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 169 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 175 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 238 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 244 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 306 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 312 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 387 utils::MakeBindGroup(device, step2Pipeline.GetBindGroupLayout(0), {{0, buf}}); in TEST_P() [all …]
|
D | GpuMemorySynchronizationTests.cpp | 53 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in CreatePipelineAndBindGroupForCompute() 84 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in CreatePipelineAndBindGroupForRender() 260 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, mBuffer}}); in CreatePipelineAndBindGroupForCompute() 290 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, mBuffer}}); in CreatePipelineAndBindGroupForRender() 488 device, cp.GetBindGroupLayout(0), in TEST_P() 531 wgpu::BindGroup bindGroup1 = utils::MakeBindGroup(device, rp.GetBindGroupLayout(0), in TEST_P() 605 utils::MakeBindGroup(device, cp.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P() 648 utils::MakeBindGroup(device, rp.GetBindGroupLayout(0), in TEST_P()
|
D | ShaderTests.cpp | 86 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P() 451 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P() 507 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P() 559 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P() 642 utils::MakeBindGroup(device, pipeline1.GetBindGroupLayout(0), {{0, buffer1}}); in TEST_P() 644 utils::MakeBindGroup(device, pipeline2.GetBindGroupLayout(0), {{0, buffer2}}); in TEST_P() 646 utils::MakeBindGroup(device, pipeline3.GetBindGroupLayout(0), {{0, buffer3}}); in TEST_P()
|
D | ComputeDispatchTests.cpp | 92 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DirectTest() 139 bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in IndirectTest() 149 utils::MakeBindGroup(device, pipelineWithoutNumWorkgroups.GetBindGroupLayout(0), in IndirectTest()
|
D | ComputeSharedMemoryTests.cpp | 48 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in BasicTest() 170 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
|
D | BindGroupTests.cpp | 151 utils::MakeBindGroup(device, cp.GetBindGroupLayout(0), {{0, buffer}}); in TEST_P() 215 device, pipeline.GetBindGroupLayout(0), in TEST_P() 316 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 406 bindGroups.push_back(utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 472 utils::MakeBindGroup(device, cp.GetBindGroupLayout(0), {{0, buffer0}}); in TEST_P() 497 wgpu::BindGroup bindGroup0 = utils::MakeBindGroup(device, cp.GetBindGroupLayout(0), {}); in TEST_P() 499 utils::MakeBindGroup(device, cp.GetBindGroupLayout(1), {{0, buffer1}}); in TEST_P() 501 utils::MakeBindGroup(device, cp.GetBindGroupLayout(2), {{0, buffer2}}); in TEST_P() 530 utils::MakeBindGroup(device, cp.GetBindGroupLayout(0), {{0, buffer0}}); in TEST_P() 532 utils::MakeBindGroup(device, cp.GetBindGroupLayout(1), {{0, buffer1}}); in TEST_P() [all …]
|
D | DepthStencilSamplingTests.cpp | 293 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoSamplingTestImpl() 348 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoSamplingTestImpl() 501 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoDepthCompareRefTest() 550 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoDepthCompareRefTest() 652 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 705 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
|
D | MaxLimitTests.cpp | 82 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 218 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
|
D | StorageTextureTests.cpp | 568 device, pipeline.GetBindGroupLayout(0), {{0, readonlyStorageTexture.CreateView()}}); in CheckDrawsGreen() 608 device, pipeline.GetBindGroupLayout(0), in CheckResultInStorageBuffer() 633 device, pipeline.GetBindGroupLayout(0), {{0, writeonlyStorageTexture.CreateView()}}); in WriteIntoStorageTextureInRenderPass() 659 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in WriteIntoStorageTextureInComputePass() 682 utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in ReadWriteIntoStorageTextureInComputePass() 882 wgpu::BindGroup bindGroupA = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 890 wgpu::BindGroup bindGroupB = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
|
D | RenderBundleTests.cpp | 72 bindGroups[0] = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in SetUp() 74 bindGroups[1] = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in SetUp()
|
D | ReadOnlyDepthStencilAttachmentTests.cpp | 172 device, pipeline.GetBindGroupLayout(0), in DoTest() 177 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoTest()
|
D | D3D12VideoViewsTests.cpp | 324 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 377 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 440 0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | PipelineLayoutD3D12.cpp | 87 const BindGroupLayout* bindGroupLayout = ToBackend(GetBindGroupLayout(group)); in Initialize() 98 const BindGroupLayout* bindGroupLayout = ToBackend(GetBindGroupLayout(group)); in Initialize() 205 const BindGroupLayoutBase* bgl = GetBindGroupLayout(group); in Initialize() 294 ASSERT(GetBindGroupLayout(group)->GetBindingInfo(bindingIndex).buffer.hasDynamicOffset); in GetDynamicRootParameterIndex() 295 ASSERT(GetBindGroupLayout(group)->GetBindingInfo(bindingIndex).visibility != in GetDynamicRootParameterIndex()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | PipelineLayoutMTL.mm | 38 mIndexInfo[stage][group].resize(GetBindGroupLayout(group)->GetBindingCount()); 41 bindingIndex < GetBindGroupLayout(group)->GetBindingCount(); ++bindingIndex) { 43 GetBindGroupLayout(group)->GetBindingInfo(bindingIndex);
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | D3D12DescriptorHeapTests.cpp | 157 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 209 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 481 bindGroups.push_back(utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 533 device, renderPipeline.GetBindGroupLayout(0), {{0, uniformBuffer}}); in TEST_P() 562 bindGroups.push_back(utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 570 bindGroups.push_back(utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 616 device, pipeline.GetBindGroupLayout(0), {{0, firstUniformBuffer, 0, sizeof(redColor)}})}; in TEST_P() 625 bindGroups.push_back(utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() 679 device, pipeline.GetBindGroupLayout(0), {{0, firstUniformBuffer, 0, sizeof(redColor)}})}; in TEST_P() 689 bindGroups.push_back(utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P() [all …]
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | PipelineLayout.h | 66 const BindGroupLayoutBase* GetBindGroupLayout(BindGroupIndex group) const; 67 BindGroupLayoutBase* GetBindGroupLayout(BindGroupIndex group);
|
D | PipelineLayout.cpp | 345 const BindGroupLayoutBase* PipelineLayoutBase::GetBindGroupLayout(BindGroupIndex group) const { in GetBindGroupLayout() function in dawn_native::PipelineLayoutBase 354 BindGroupLayoutBase* PipelineLayoutBase::GetBindGroupLayout(BindGroupIndex group) { in GetBindGroupLayout() function in dawn_native::PipelineLayoutBase 390 recorder.Record(GetBindGroupLayout(group)->GetContentHash()); in ComputeContentHash() 403 if (a->GetBindGroupLayout(group) != b->GetBindGroupLayout(group)) { in operator ()()
|
D | Pipeline.cpp | 197 ResultOrError<Ref<BindGroupLayoutBase>> PipelineBase::GetBindGroupLayout( in GetBindGroupLayout() function in dawn_native::PipelineBase 205 return Ref<BindGroupLayoutBase>(mLayout->GetBindGroupLayout(groupIndex)); in GetBindGroupLayout() 211 if (GetDevice()->ConsumedError(GetBindGroupLayout(groupIndexIn), &result, in APIGetBindGroupLayout()
|
D | CommandBufferStateTracker.cpp | 204 mLastPipelineLayout->GetBindGroupLayout(i) != mBindgroups[i]->GetLayout() || in RecomputeLazyAspects() 282 BindGroupLayoutBase* requiredBGL = mLastPipelineLayout->GetBindGroupLayout(i); in CheckMissingAspects() 309 mLastPipelineLayout->GetBindGroupLayout(i) != mBindgroups[i]->GetLayout(), in CheckMissingAspects()
|
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/ |
D | GPURenderPipeline.cpp | 34 env, pipeline_.GetBindGroupLayout(index)); in getBindGroupLayout()
|
D | GPUComputePipeline.cpp | 34 env, pipeline_.GetBindGroupLayout(index)); in getBindGroupLayout()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
D | PipelineGL.cpp | 157 layout->GetBindGroupLayout(combined.textureLocation.group); in InitializeBase() 171 layout->GetBindGroupLayout(combined.samplerLocation.group); in InitializeBase()
|
D | PipelineLayoutGL.cpp | 32 const BindGroupLayoutBase* bgl = GetBindGroupLayout(group); in PipelineLayout()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | PipelineLayoutVk.cpp | 42 setLayouts[numSetLayouts] = ToBackend(GetBindGroupLayout(setIndex))->GetHandle(); in Initialize()
|