/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
D | CreatePipelineAsyncTests.cpp | 23 wgpu::RenderPipeline renderPipeline = nullptr; member 95 ASSERT_NE(nullptr, currentTask->renderPipeline.Get()); in ValidateCreateRenderPipelineAsync() 97 renderPassEncoder.SetPipeline(currentTask->renderPipeline); in ValidateCreateRenderPipelineAsync() 122 task->renderPipeline = wgpu::RenderPipeline::Acquire(returnPipeline); in DoCreateRenderPipelineAsync() 307 ASSERT_NE(nullptr, task.renderPipeline.Get()); in TEST_P() 309 renderPassEncoder.SetPipeline(task.renderPipeline); in TEST_P() 350 task->renderPipeline = wgpu::RenderPipeline::Acquire(returnPipeline); in TEST_P() 413 task->renderPipeline = wgpu::RenderPipeline::Acquire(returnPipeline); in TEST_P() 471 task->renderPipeline = wgpu::RenderPipeline::Acquire(returnPipeline); in TEST_P() 603 task->renderPipeline = wgpu::RenderPipeline::Acquire(returnPipeline); in TEST_P() [all …]
|
D | D3D12VideoViewsTests.cpp | 316 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 323 pass.SetPipeline(renderPipeline); in TEST_P() 324 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 369 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 376 pass.SetPipeline(renderPipeline); in TEST_P() 377 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 431 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 438 pass.SetPipeline(renderPipeline); in TEST_P() 440 0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P()
|
D | CompressedTextureFormatTests.cpp | 197 void VerifyCompressedTexturePixelValues(wgpu::RenderPipeline renderPipeline, in VerifyCompressedTexturePixelValues() argument 211 pass.SetPipeline(renderPipeline); in VerifyCompressedTexturePixelValues() 235 wgpu::RenderPipeline renderPipeline = CreateRenderPipelineForTest(); in VerifyTexture() local 257 renderPipeline.GetBindGroupLayout(0), texture, layer, config.viewMipmapLevel); in VerifyTexture() 258 VerifyCompressedTexturePixelValues(renderPipeline, bindGroup, virtualSizeAtLevel, in VerifyTexture() 756 wgpu::RenderPipeline renderPipeline = CreateRenderPipelineForTest(); in TEST_P() local 758 CreateBindGroupForTest(renderPipeline.GetBindGroupLayout(0), textureDst, in TEST_P() 762 VerifyCompressedTexturePixelValues(renderPipeline, bindGroup, kVirtualSize, config.copyOrigin3D, in TEST_P() 796 wgpu::RenderPipeline renderPipeline = CreateRenderPipelineForTest(); in TEST_P() local 798 CreateBindGroupForTest(renderPipeline.GetBindGroupLayout(0), textureDst, in TEST_P() [all …]
|
D | BufferZeroInitTests.cpp | 252 wgpu::RenderPipeline renderPipeline = CreateRenderPipelineForTest(R"( in TestBufferZeroInitAsVertexBuffer() local 284 renderPass.SetPipeline(renderPipeline); in TestBufferZeroInitAsVertexBuffer() 295 wgpu::RenderPipeline renderPipeline = in TestBufferZeroInitAsIndexBuffer() local 327 renderPass.SetPipeline(renderPipeline); in TestBufferZeroInitAsIndexBuffer() 345 wgpu::RenderPipeline renderPipeline = in TestBufferZeroInitAsIndirectBufferForDrawIndirect() local 374 renderPass.SetPipeline(renderPipeline); in TestBufferZeroInitAsIndirectBufferForDrawIndirect() 386 wgpu::RenderPipeline renderPipeline = in TestBufferZeroInitAsIndirectBufferForDrawIndexedIndirect() local 417 renderPass.SetPipeline(renderPipeline); in TestBufferZeroInitAsIndirectBufferForDrawIndexedIndirect() 1150 wgpu::RenderPipeline renderPipeline = in TEST_P() local 1228 renderPass.SetPipeline(renderPipeline); in TEST_P()
|
D | TextureZeroInitTests.cpp | 872 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 875 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 884 pass.SetPipeline(renderPipeline); in TEST_P() 931 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 934 utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), {{0, sampleView}}); in TEST_P() 942 pass.SetPipeline(renderPipeline); in TEST_P() 1157 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 1160 wgpu::BindGroup bindGroup = utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 1170 pass.SetPipeline(renderPipeline); in TEST_P() 1304 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local [all …]
|
D | RenderPassLoadOpTests.cpp | 41 auto renderPipeline = device.CreateRenderPipeline(&descriptor); in Draw() local 43 pass->SetPipeline(renderPipeline); in Draw()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/ |
D | ShaderModuleMTL.mm | 52 const RenderPipeline* renderPipeline, 104 AddVertexPullingTransformConfig(*renderPipeline, entryPointName, 108 IterateBitSet(renderPipeline->GetVertexBufferSlotsUsed())) { 109 uint32_t metalIndex = renderPipeline->GetMtlVertexBufferIndex(slot); 161 renderPipeline->GetPrimitiveTopology() == wgpu::PrimitiveTopology::PointList; 179 const RenderPipeline* renderPipeline) { 183 // Vertex stages must specify a renderPipeline 185 ASSERT(renderPipeline != nullptr); 192 TranslateToMSL(entryPointName, stage, layout, sampleMask, renderPipeline,
|
D | ShaderModuleMTL.h | 51 const RenderPipeline* renderPipeline = nullptr); 58 const RenderPipeline* renderPipeline,
|
D | RenderPipelineMTL.h | 33 static void InitializeAsync(Ref<RenderPipelineBase> renderPipeline,
|
D | UtilsMetal.h | 82 const RenderPipeline* renderPipeline = nullptr);
|
D | UtilsMetal.mm | 196 const RenderPipeline* renderPipeline) { 203 renderPipeline)); 286 constantValues.Get(), sampleMask, renderPipeline));
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
D | D3D12DescriptorHeapTests.cpp | 136 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 150 pass.SetPipeline(renderPipeline); in TEST_P() 157 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 190 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 206 pass.SetPipeline(renderPipeline); in TEST_P() 209 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 467 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&pipelineDescriptor); in TEST_P() local 481 bindGroups.push_back(utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P() 489 pass.SetPipeline(renderPipeline); in TEST_P() 524 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&pipelineDescriptor); in TEST_P() local [all …]
|
D | D3D12ResidencyTests.cpp | 365 wgpu::RenderPipeline renderPipeline = device.CreateRenderPipeline(&renderPipelineDescriptor); in TEST_P() local 385 pass.SetPipeline(renderPipeline); in TEST_P() 392 pass.SetBindGroup(0, utils::MakeBindGroup(device, renderPipeline.GetBindGroupLayout(0), in TEST_P()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/ |
D | DestroyObjectTests.cpp | 376 Ref<RenderPipelineBase> renderPipeline; in TEST_F() local 379 DAWN_ASSERT_AND_ASSIGN(renderPipeline, mDevice.CreateRenderPipeline(&desc)); in TEST_F() 381 EXPECT_TRUE(renderPipeline->IsAlive()); in TEST_F() 382 EXPECT_TRUE(renderPipeline->IsCachedReference()); in TEST_F() 664 Ref<RenderPipelineBase> renderPipeline; in TEST_F() local 680 DAWN_ASSERT_AND_ASSIGN(renderPipeline, mDevice.CreateRenderPipeline(&desc)); in TEST_F() 681 EXPECT_TRUE(renderPipeline->IsAlive()); in TEST_F() 682 EXPECT_TRUE(renderPipeline->IsCachedReference()); in TEST_F() 749 EXPECT_FALSE(renderPipeline->IsAlive()); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/ |
D | MinimumBufferSizeValidationTests.cpp | 300 void TestDraw(const wgpu::RenderPipeline& renderPipeline, in TestDraw() argument 307 renderPassEncoder.SetPipeline(renderPipeline); in TestDraw() 434 wgpu::RenderPipeline renderPipeline = CreateRenderPipeline({layout}, vertexShader, fragShader); in TEST_F() local 439 TestDraw(renderPipeline, {bindGroup}, expectation); in TEST_F() 457 wgpu::RenderPipeline renderPipeline = CreateRenderPipeline({layout}, vertexShader, fragShader); in TEST_F() local 462 TestDraw(renderPipeline, {bindGroup}, expectation); in TEST_F() 484 wgpu::RenderPipeline renderPipeline = in TEST_F() local 491 TestDraw(renderPipeline, {bindGroup0, bindGroup1}, expectation); in TEST_F()
|
/third_party/skia/third_party/externals/dawn/examples/ |
D | ComputeBoids.cpp | 36 wgpu::RenderPipeline renderPipeline; variable 147 renderPipeline = device.CreateRenderPipeline(&descriptor); in initRender() 287 pass.SetPipeline(renderPipeline); in createCommandBuffer()
|
/third_party/flutter/skia/third_party/externals/dawn/examples/ |
D | ComputeBoids.cpp | 35 dawn::RenderPipeline renderPipeline; variable 143 renderPipeline = device.CreateRenderPipeline(&descriptor); in initRender() 281 pass.SetPipeline(renderPipeline); in createCommandBuffer()
|
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/ |
D | CompressedTextureFormatTests.cpp | 180 void VerifyCompressedTexturePixelValues(dawn::RenderPipeline renderPipeline, in VerifyCompressedTexturePixelValues() argument 193 pass.SetPipeline(renderPipeline); in VerifyCompressedTexturePixelValues() 217 dawn::RenderPipeline renderPipeline = CreateRenderPipelineForTest(); in TestCopyRegionIntoBCFormatTextures() local 233 VerifyCompressedTexturePixelValues(renderPipeline, bindGroup, virtualSizeAtLevel, in TestCopyRegionIntoBCFormatTextures() 569 dawn::RenderPipeline renderPipeline = CreateRenderPipelineForTest(); in TEST_P() local 572 VerifyCompressedTexturePixelValues(renderPipeline, bindGroup, kVirtualSize, in TEST_P() 644 dawn::RenderPipeline renderPipeline = CreateRenderPipelineForTest(); in TEST_P() local 647 VerifyCompressedTexturePixelValues(renderPipeline, bindGroup, kDstVirtualSize, in TEST_P()
|
D | RenderPassLoadOpTests.cpp | 42 auto renderPipeline = device.CreateRenderPipeline(&descriptor); in Draw() local 44 pass->SetPipeline(renderPipeline); in Draw()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
D | RenderPipelineVk.h | 31 static void InitializeAsync(Ref<RenderPipelineBase> renderPipeline,
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | RenderPipelineD3D12.h | 31 static void InitializeAsync(Ref<RenderPipelineBase> renderPipeline,
|
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
D | CommandBufferD3D12.cpp | 664 const RenderPipeline* renderPipeline) { in FlushSetVertexBuffers() argument 666 DAWN_ASSERT(renderPipeline != nullptr); in FlushSetVertexBuffers() 668 auto inputsMask = renderPipeline->GetInputsSetMask(); in FlushSetVertexBuffers() 676 if (vertexBuffersInfo->lastRenderPipeline != renderPipeline) { in FlushSetVertexBuffers() 677 vertexBuffersInfo->lastRenderPipeline = renderPipeline; in FlushSetVertexBuffers() 683 renderPipeline->GetInput(slot).stride; in FlushSetVertexBuffers()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
D | Device.cpp | 756 Ref<RenderPipelineBase> renderPipeline) { in AddOrGetCachedRenderPipeline() argument 757 auto insertion = mCaches->renderPipelines.insert(renderPipeline.Get()); in AddOrGetCachedRenderPipeline() 759 renderPipeline->SetIsCachedReference(); in AddOrGetCachedRenderPipeline() 760 return renderPipeline; in AddOrGetCachedRenderPipeline() 1356 Ref<RenderPipelineBase> renderPipeline, in InitializeRenderPipelineAsyncImpl() argument 1362 MaybeError maybeError = renderPipeline->Initialize(); in InitializeRenderPipelineAsyncImpl() 1367 result = AddOrGetCachedRenderPipeline(std::move(renderPipeline)); in InitializeRenderPipelineAsyncImpl()
|
D | ShaderModule.cpp | 1075 void AddVertexPullingTransformConfig(const RenderPipelineBase& renderPipeline, in AddVertexPullingTransformConfig() argument 1083 cfg.vertex_state.resize(renderPipeline.GetVertexBufferCount()); in AddVertexPullingTransformConfig() 1084 for (VertexBufferSlot slot : IterateBitSet(renderPipeline.GetVertexBufferSlotsUsed())) { in AddVertexPullingTransformConfig() 1085 const VertexBufferInfo& dawnInfo = renderPipeline.GetVertexBuffer(slot); in AddVertexPullingTransformConfig() 1094 IterateBitSet(renderPipeline.GetAttributeLocationsUsed())) { in AddVertexPullingTransformConfig() 1095 const VertexAttributeInfo& dawnInfo = renderPipeline.GetAttribute(location); in AddVertexPullingTransformConfig()
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlResourceProvider.mm | 151 auto renderPipeline = GrMtlRenderPipeline::Make(pso); 153 fMSAALoadPipelines.push_back({renderPipeline, colorFormat, sampleCount, stencilFormat});
|