Home
last modified time | relevance | path

Searched refs:GetBindGroupLayout (Results 1 – 25 of 65) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DGetBindGroupLayoutValidationTests.cpp86 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/
DComputeStorageBufferBarrierTests.cpp53 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 …]
DGpuMemorySynchronizationTests.cpp53 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()
DShaderTests.cpp86 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()
DComputeDispatchTests.cpp92 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()
DComputeSharedMemoryTests.cpp48 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in BasicTest()
170 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in TEST_P()
DBindGroupTests.cpp151 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 …]
DDepthStencilSamplingTests.cpp293 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()
DMaxLimitTests.cpp82 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()
DStorageTextureTests.cpp568 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()
DRenderBundleTests.cpp72 bindGroups[0] = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in SetUp()
74 bindGroups[1] = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in SetUp()
DReadOnlyDepthStencilAttachmentTests.cpp172 device, pipeline.GetBindGroupLayout(0), in DoTest()
177 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, pipeline.GetBindGroupLayout(0), in DoTest()
DD3D12VideoViewsTests.cpp324 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/
DPipelineLayoutD3D12.cpp87 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/
DPipelineLayoutMTL.mm38 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/
DD3D12DescriptorHeapTests.cpp157 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/
DPipelineLayout.h66 const BindGroupLayoutBase* GetBindGroupLayout(BindGroupIndex group) const;
67 BindGroupLayoutBase* GetBindGroupLayout(BindGroupIndex group);
DPipelineLayout.cpp345 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 ()()
DPipeline.cpp197 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()
DCommandBufferStateTracker.cpp204 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/
DGPURenderPipeline.cpp34 env, pipeline_.GetBindGroupLayout(index)); in getBindGroupLayout()
DGPUComputePipeline.cpp34 env, pipeline_.GetBindGroupLayout(index)); in getBindGroupLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DPipelineGL.cpp157 layout->GetBindGroupLayout(combined.textureLocation.group); in InitializeBase()
171 layout->GetBindGroupLayout(combined.samplerLocation.group); in InitializeBase()
DPipelineLayoutGL.cpp32 const BindGroupLayoutBase* bgl = GetBindGroupLayout(group); in PipelineLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DPipelineLayoutVk.cpp42 setLayouts[numSetLayouts] = ToBackend(GetBindGroupLayout(setIndex))->GetHandle(); in Initialize()

123