Home
last modified time | relevance | path

Searched refs:renderPipeline (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCreatePipelineAsyncTests.cpp23 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 …]
DD3D12VideoViewsTests.cpp316 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()
DCompressedTextureFormatTests.cpp197 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 …]
DBufferZeroInitTests.cpp252 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()
DTextureZeroInitTests.cpp872 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 …]
DRenderPassLoadOpTests.cpp41 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/
DShaderModuleMTL.mm52 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,
DShaderModuleMTL.h51 const RenderPipeline* renderPipeline = nullptr);
58 const RenderPipeline* renderPipeline,
DRenderPipelineMTL.h33 static void InitializeAsync(Ref<RenderPipelineBase> renderPipeline,
DUtilsMetal.h82 const RenderPipeline* renderPipeline = nullptr);
DUtilsMetal.mm196 const RenderPipeline* renderPipeline) {
203 renderPipeline));
286 constantValues.Get(), sampleMask, renderPipeline));
/third_party/skia/third_party/externals/dawn/src/tests/white_box/
DD3D12DescriptorHeapTests.cpp136 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 …]
DD3D12ResidencyTests.cpp365 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/
DDestroyObjectTests.cpp376 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/
DMinimumBufferSizeValidationTests.cpp300 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/
DComputeBoids.cpp36 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/
DComputeBoids.cpp35 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/
DCompressedTextureFormatTests.cpp180 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()
DRenderPassLoadOpTests.cpp42 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/
DRenderPipelineVk.h31 static void InitializeAsync(Ref<RenderPipelineBase> renderPipeline,
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.h31 static void InitializeAsync(Ref<RenderPipelineBase> renderPipeline,
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DCommandBufferD3D12.cpp664 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/
DDevice.cpp756 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()
DShaderModule.cpp1075 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/
DGrMtlResourceProvider.mm151 auto renderPipeline = GrMtlRenderPipeline::Make(pso);
153 fMSAALoadPipelines.push_back({renderPipeline, colorFormat, sampleCount, stencilFormat});

12