/external/angle/src/libANGLE/renderer/metal/ |
D | ProvokingVertexHelper.mm | 117 static uint buildIndexBufferKey(const mtl::ProvokingVertexComputePipelineDesc &pipelineDesc) 120 gl::DrawElementsType elementType = (gl::DrawElementsType)pipelineDesc.elementType; 121 bool doPrimPrestart = pipelineDesc.primitiveRestartEnabled; 122 gl::PrimitiveMode primMode = pipelineDesc.primitiveMode; 206 mtl::ProvokingVertexComputePipelineDesc pipelineDesc; 207 pipelineDesc.elementType = (uint8_t)elementsType; 208 pipelineDesc.primitiveMode = primitiveMode; 209 pipelineDesc.primitiveRestartEnabled = primitiveRestartEnabled; 210 pipelineDesc.generateIndices = false; 211 uint indexBufferKey = buildIndexBufferKey(pipelineDesc); [all …]
|
D | mtl_pipeline_cache.mm | 111 auto objCDesc = key.pipelineDesc.createMetalDesc(key.vertexShader, key.fragmentShader); 116 if (HasDefaultAttribs(key.pipelineDesc)) 199 return std::tie(vertexShader, fragmentShader, pipelineDesc) == 200 std::tie(rhs.vertexShader, rhs.fragmentShader, rhs.pipelineDesc); 212 return angle::HashMultiple(vertexShader.get(), fragmentShader.get(), pipelineDesc); 232 key.pipelineDesc = desc;
|
D | ProgramMtl.h | 198 const mtl::RenderPipelineDesc &pipelineDesc, 239 const mtl::RenderPipelineDesc &pipelineDesc); 242 const mtl::RenderPipelineDesc &pipelineDesc);
|
D | mtl_render_utils.mm | 568 RenderPipelineDesc pipelineDesc; 571 renderPassDesc.populateRenderPipelineOutputDesc(&pipelineDesc.outputDescriptor); 572 pipelineDesc.rasterizationType = RenderPipelineRasterization::Disabled; 573 pipelineDesc.inputPrimitiveTopology = kPrimitiveTopologyClassPoint; 575 return pipelineDesc; 1164 RenderPipelineDesc pipelineDesc; 1168 &pipelineDesc.outputDescriptor); 1170 pipelineDesc.inputPrimitiveTopology = kPrimitiveTopologyClassTriangle; 1176 pipelineDesc, outPipelineState); 1353 RenderPipelineDesc pipelineDesc; [all …]
|
D | mtl_pipeline_cache.h | 26 RenderPipelineDesc pipelineDesc; member
|
D | ProgramMtl.mm | 1552 const mtl::RenderPipelineDesc &pipelineDesc, 1562 getSpecializedShader(context, gl::ShaderType::Vertex, pipelineDesc, &vertexShader)); 1566 getSpecializedShader(context, gl::ShaderType::Fragment, pipelineDesc, &fragmentShader)); 1570 context, vertexShader, fragmentShader, pipelineDesc, &pipelineState)); 1580 &mVertexShaderVariants[pipelineDesc.rasterizationType]; 1582 const bool multisampledRendering = pipelineDesc.outputDescriptor.sampleCount > 1; 1584 pipelineDesc.outputDescriptor.depthAttachmentPixelFormat != 0; 1586 pipelineDesc.rasterizationEnabled() 1597 ANGLE_TRY(updateUniformBuffers(context, cmdEncoder, pipelineDesc)); 1602 ANGLE_TRY(updateXfbBuffers(context, cmdEncoder, pipelineDesc)); [all …]
|
/external/skia/src/gpu/graphite/ |
D | ComputePassTask.cpp | 17 const ComputePipelineDesc& pipelineDesc, in Make() argument 19 return sk_sp<ComputePassTask>(new ComputePassTask(std::move(bindings), pipelineDesc, desc)); in Make() 23 const ComputePipelineDesc& pipelineDesc, in ComputePassTask() argument 25 : fPipelineDesc(pipelineDesc) in ComputePassTask()
|
D | ResourceProvider.cpp | 42 const GraphicsPipelineDesc& pipelineDesc, in findOrCreateGraphicsPipeline() argument 45 UniqueKey pipelineKey = fSharedContext->caps()->makeGraphicsPipelineKey(pipelineDesc, in findOrCreateGraphicsPipeline() 54 pipeline = this->createGraphicsPipeline(runtimeDict, pipelineDesc, renderPassDesc); in findOrCreateGraphicsPipeline() 65 const ComputePipelineDesc& pipelineDesc) { in findOrCreateComputePipeline() argument 67 UniqueKey pipelineKey = fSharedContext->caps()->makeComputePipelineKey(pipelineDesc); in findOrCreateComputePipeline() 70 pipeline = this->createComputePipeline(pipelineDesc); in findOrCreateComputePipeline()
|
D | PublicPrecompile.cpp | 53 GraphicsPipelineDesc pipelineDesc(s, paintID); in compile() local 58 pipelineDesc, in compile()
|
D | DrawPass.cpp | 602 for (const GraphicsPipelineDesc& pipelineDesc : fPipelineDescs) { in prepareResources() local 604 pipelineDesc, in prepareResources()
|
/external/skia/tests/graphite/ |
D | ComputeTaskTest.cpp | 57 ComputePipelineDesc pipelineDesc(&step); in DEF_GRAPHITE_TEST_FOR_METAL_CONTEXT() local 94 recorder->priv().add(ComputePassTask::Make(std::move(bindings), pipelineDesc, desc)); in DEF_GRAPHITE_TEST_FOR_METAL_CONTEXT() 181 ComputePipelineDesc pipelineDesc(&step); in DEF_GRAPHITE_TEST_FOR_METAL_CONTEXT() local 207 recorder->priv().add(ComputePassTask::Make(std::move(bindings), pipelineDesc, desc)); in DEF_GRAPHITE_TEST_FOR_METAL_CONTEXT() 301 ComputePipelineDesc pipelineDesc(&step); in DEF_GRAPHITE_TEST_FOR_METAL_CONTEXT() local 328 recorder->priv().add(ComputePassTask::Make(std::move(bindings), pipelineDesc, desc)); in DEF_GRAPHITE_TEST_FOR_METAL_CONTEXT()
|
/external/angle/src/libANGLE/renderer/vulkan/ |
D | UtilsVk.cpp | 1844 const vk::GraphicsPipelineDesc *pipelineDesc, in setupGraphicsProgramWithLayout() argument 1868 contextVk, pipelineDesc->getRenderPassDesc(), &compatibleRenderPass)); in setupGraphicsProgramWithLayout() 1873 if (!programAndPipelines->pipelines.getPipeline(*pipelineDesc, &descPtr, &helper)) in setupGraphicsProgramWithLayout() 1877 pipelineLayout, PipelineSource::Utils, *pipelineDesc, {}, &descPtr, &helper)); in setupGraphicsProgramWithLayout() 1909 const vk::GraphicsPipelineDesc *pipelineDesc, in setupGraphicsProgram() argument 1919 pipelineDesc, descriptorSet, pushConstants, pushConstantsSize, commandBuffer); in setupGraphicsProgram() 2416 vk::GraphicsPipelineDesc pipelineDesc; in clearFramebuffer() local 2417 pipelineDesc.initDefaults(contextVk, vk::GraphicsPipelineSubset::Complete); in clearFramebuffer() 2418 pipelineDesc.setColorWriteMasks(0, gl::DrawBufferMask(), gl::DrawBufferMask()); in clearFramebuffer() 2419 pipelineDesc.setSingleColorWriteMask(params.colorAttachmentIndexGL, params.colorMaskFlags); in clearFramebuffer() [all …]
|
D | UtilsVk.h | 551 const vk::GraphicsPipelineDesc *pipelineDesc, 561 const vk::GraphicsPipelineDesc *pipelineDesc,
|
D | vk_helpers.h | 3225 const GraphicsPipelineDesc &pipelineDesc, in createGraphicsPipeline() argument 3232 pipelineDesc, descPtrOut, pipelineOut); in createGraphicsPipeline()
|
/external/skia/src/gpu/graphite/mtl/ |
D | MtlResourceProvider.mm | 102 const GraphicsPipelineDesc& pipelineDesc, 114 fSharedContext->rendererProvider()->lookup(pipelineDesc.renderStepID()); 123 pipelineDesc.paintParamsID(), 170 const ComputePipelineDesc& pipelineDesc) { 178 auto computeSkSL = pipelineDesc.computeStep()->computeSkSL( 194 pipelineDesc.computeStep()->name(),
|
D | MtlComputePipeline.mm | 38 // `stageInputDescriptor` property based on the contents of `pipelineDesc` (on iOS 10+ or 42 // the contents of `pipelineDesc` (on iOS 11+ or macOS 10.13+).
|
D | MtlCaps.mm | 667 UniqueKey MtlCaps::makeGraphicsPipelineKey(const GraphicsPipelineDesc& pipelineDesc, 675 builder[0] = pipelineDesc.renderStepID(); 676 builder[1] = pipelineDesc.paintParamsID().asUInt(); 698 UniqueKey MtlCaps::makeComputePipelineKey(const ComputePipelineDesc& pipelineDesc) const { 704 builder[0] = pipelineDesc.computeStep()->uniqueID();
|
/external/skia/src/gpu/graphite/dawn/ |
D | DawnCaps.cpp | 418 UniqueKey DawnCaps::makeGraphicsPipelineKey(const GraphicsPipelineDesc& pipelineDesc, in makeGraphicsPipelineKey() argument 426 builder[0] = pipelineDesc.renderStepID(); in makeGraphicsPipelineKey() 427 builder[1] = pipelineDesc.paintParamsID().asUInt(); in makeGraphicsPipelineKey() 439 UniqueKey DawnCaps::makeComputePipelineKey(const ComputePipelineDesc& pipelineDesc) const { in makeComputePipelineKey()
|
D | DawnResourceProvider.cpp | 178 const GraphicsPipelineDesc& pipelineDesc, in createGraphicsPipeline() argument 183 pipelineDesc, in createGraphicsPipeline()
|
D | DawnGraphicsPipeline.h | 56 const GraphicsPipelineDesc& pipelineDesc,
|
D | DawnGraphicsPipeline.cpp | 218 const GraphicsPipelineDesc& pipelineDesc, in Make() argument 231 sharedContext->rendererProvider()->lookup(pipelineDesc.renderStepID()); in Make() 245 pipelineDesc.paintParamsID(), in Make()
|