Home
last modified time | relevance | path

Searched refs:renderPipelineDesc (Results 1 – 12 of 12) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireExtensionTests.cpp40 WGPURenderPipelineDescriptor renderPipelineDesc = {}; in TEST_F() local
41 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
42 renderPipelineDesc.vertex.entryPoint = "main"; in TEST_F()
43 renderPipelineDesc.primitive.nextInChain = &clientExt.chain; in TEST_F()
45 wgpuDeviceCreateRenderPipeline(device, &renderPipelineDesc); in TEST_F()
78 WGPURenderPipelineDescriptor renderPipelineDesc = {}; in TEST_F() local
79 renderPipelineDesc.vertex.module = shaderModule; in TEST_F()
80 renderPipelineDesc.vertex.entryPoint = "main"; in TEST_F()
81 renderPipelineDesc.primitive.nextInChain = &clientExt1.chain; in TEST_F()
83 wgpuDeviceCreateRenderPipeline(device, &renderPipelineDesc); in TEST_F()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/
DDrawCallPerf.cpp351 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in SetUp() local
352 renderPipelineDesc.vertex.bufferCount = 1; in SetUp()
353 renderPipelineDesc.cBuffers[0].arrayStride = 4 * sizeof(float); in SetUp()
354 renderPipelineDesc.cBuffers[0].attributeCount = 1; in SetUp()
355 renderPipelineDesc.cAttributes[0].format = wgpu::VertexFormat::Float32x4; in SetUp()
356 renderPipelineDesc.EnableDepthStencil(wgpu::TextureFormat::Depth24PlusStencil8); in SetUp()
357 renderPipelineDesc.cTargets[0].format = wgpu::TextureFormat::RGBA8Unorm; in SetUp()
370 renderPipelineDesc.layout = pipelineLayout; in SetUp()
371 renderPipelineDesc.vertex.module = vsModule; in SetUp()
372 renderPipelineDesc.cFragment.module = fsModule; in SetUp()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilCopyTests.cpp99 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in InitializeDepthTextureRegion() local
100 PopulatePipelineDescriptorWriteDepth(&renderPipelineDesc, wgpu::TextureFormat::Depth32Float, in InitializeDepthTextureRegion()
103 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&renderPipelineDesc); in InitializeDepthTextureRegion()
131 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in InitializeDepthStencilTextureRegion() local
132 PopulatePipelineDescriptorWriteDepth(&renderPipelineDesc, in InitializeDepthStencilTextureRegion()
134 renderPipelineDesc.cDepthStencil.stencilFront.passOp = wgpu::StencilOperation::Replace; in InitializeDepthStencilTextureRegion()
136 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&renderPipelineDesc); in InitializeDepthStencilTextureRegion()
528 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in TEST_P() local
529 renderPipelineDesc.vertex.module = mVertexModule; in TEST_P()
530 renderPipelineDesc.cFragment.module = utils::CreateShaderModule(device, R"( in TEST_P()
[all …]
DDepthBiasTests.cpp98 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in RunDepthBiasTest() local
100 renderPipelineDesc.vertex.module = vertexModule; in RunDepthBiasTest()
101 renderPipelineDesc.cFragment.module = fragmentModule; in RunDepthBiasTest()
102 wgpu::DepthStencilState* depthStencil = renderPipelineDesc.EnableDepthStencil(depthFormat); in RunDepthBiasTest()
112 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&renderPipelineDesc); in RunDepthBiasTest()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DCopyTextureForBrowserHelper.cpp215 RenderPipelineDescriptor renderPipelineDesc = {}; in GetOrCreateCopyTextureForBrowserPipeline() local
218 renderPipelineDesc.layout = nullptr; in GetOrCreateCopyTextureForBrowserPipeline()
220 renderPipelineDesc.vertex = vertex; in GetOrCreateCopyTextureForBrowserPipeline()
221 renderPipelineDesc.fragment = &fragment; in GetOrCreateCopyTextureForBrowserPipeline()
223 renderPipelineDesc.primitive.topology = wgpu::PrimitiveTopology::TriangleList; in GetOrCreateCopyTextureForBrowserPipeline()
229 DAWN_TRY_ASSIGN(pipeline, device->CreateRenderPipeline(&renderPipelineDesc)); in GetOrCreateCopyTextureForBrowserPipeline()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DProvokingVertexHelper.h56 const mtl::ProvokingVertexComputePipelineDesc &renderPipelineDesc,
61 const mtl::ProvokingVertexComputePipelineDesc &renderPipelineDesc) override;
Dmtl_state_cache.h456 const RenderPipelineDesc &renderPipelineDesc,
461 const RenderPipelineDesc &renderPipelineDesc) = 0;
475 const ProvokingVertexComputePipelineDesc &renderPipelineDesc,
481 const ProvokingVertexComputePipelineDesc &renderPipelineDesc) = 0;
DProgramMtl.h135 const mtl::RenderPipelineDesc &renderPipelineDesc,
138 const mtl::RenderPipelineDesc &renderPipelineDesc) override;
DProgramMtl.mm582 const mtl::RenderPipelineDesc &renderPipelineDesc,
598 shaderVariant = &mVertexShaderVariants[renderPipelineDesc.rasterizationType];
606 if (renderPipelineDesc.rasterizationType == mtl::RenderPipelineRasterization::Disabled)
624 BOOL emulateDiscard = renderPipelineDesc.rasterizationType ==
652 BOOL emulateCoverageMask = renderPipelineDesc.emulateCoverageMask;
723 const mtl::RenderPipelineDesc &renderPipelineDesc)
DProvokingVertexHelper.mm183 const mtl::ProvokingVertexComputePipelineDesc &renderPipelineDesc)
/third_party/skia/third_party/externals/dawn/src/tests/unittests/validation/
DRenderBundleValidationTests.cpp888 utils::ComboRenderPipelineDescriptor renderPipelineDesc; in TEST_F() local
889 InitializeRenderPipelineDescriptor(&renderPipelineDesc); in TEST_F()
890 renderPipelineDesc.cFragment.targetCount = 1; in TEST_F()
891 renderPipelineDesc.cTargets[0].format = wgpu::TextureFormat::RGBA8Unorm; in TEST_F()
892 renderPipelineDesc.multisample.count = 4; in TEST_F()
898 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&renderPipelineDesc); in TEST_F()
905 renderPipelineDesc.multisample.count = 1; in TEST_F()
909 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&renderPipelineDesc); in TEST_F()
/third_party/skia/src/gpu/dawn/
DGrDawnGpu.cpp737 wgpu::RenderPipelineDescriptor renderPipelineDesc; in onRegenerateMipMapLevels() local
738 renderPipelineDesc.vertex = vertexState; in onRegenerateMipMapLevels()
739 renderPipelineDesc.primitive.topology = wgpu::PrimitiveTopology::TriangleStrip; in onRegenerateMipMapLevels()
740 renderPipelineDesc.primitive.stripIndexFormat = wgpu::IndexFormat::Uint16; in onRegenerateMipMapLevels()
741 renderPipelineDesc.fragment = &fragmentState; in onRegenerateMipMapLevels()
742 wgpu::RenderPipeline pipeline = fDevice.CreateRenderPipeline(&renderPipelineDesc); in onRegenerateMipMapLevels()