Home
last modified time | relevance | path

Searched refs:pipelineDesc (Results 1 – 21 of 21) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
DProvokingVertexHelper.mm117 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 …]
Dmtl_pipeline_cache.mm111 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;
DProgramMtl.h198 const mtl::RenderPipelineDesc &pipelineDesc,
239 const mtl::RenderPipelineDesc &pipelineDesc);
242 const mtl::RenderPipelineDesc &pipelineDesc);
Dmtl_render_utils.mm568 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 …]
Dmtl_pipeline_cache.h26 RenderPipelineDesc pipelineDesc; member
DProgramMtl.mm1552 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/
DComputePassTask.cpp17 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()
DResourceProvider.cpp42 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()
DPublicPrecompile.cpp53 GraphicsPipelineDesc pipelineDesc(s, paintID); in compile() local
58 pipelineDesc, in compile()
DDrawPass.cpp602 for (const GraphicsPipelineDesc& pipelineDesc : fPipelineDescs) { in prepareResources() local
604 pipelineDesc, in prepareResources()
/external/skia/tests/graphite/
DComputeTaskTest.cpp57 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/
DUtilsVk.cpp1844 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 …]
DUtilsVk.h551 const vk::GraphicsPipelineDesc *pipelineDesc,
561 const vk::GraphicsPipelineDesc *pipelineDesc,
Dvk_helpers.h3225 const GraphicsPipelineDesc &pipelineDesc, in createGraphicsPipeline() argument
3232 pipelineDesc, descPtrOut, pipelineOut); in createGraphicsPipeline()
/external/skia/src/gpu/graphite/mtl/
DMtlResourceProvider.mm102 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(),
DMtlComputePipeline.mm38 // `stageInputDescriptor` property based on the contents of `pipelineDesc` (on iOS 10+ or
42 // the contents of `pipelineDesc` (on iOS 11+ or macOS 10.13+).
DMtlCaps.mm667 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/
DDawnCaps.cpp418 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()
DDawnResourceProvider.cpp178 const GraphicsPipelineDesc& pipelineDesc, in createGraphicsPipeline() argument
183 pipelineDesc, in createGraphicsPipeline()
DDawnGraphicsPipeline.h56 const GraphicsPipelineDesc& pipelineDesc,
DDawnGraphicsPipeline.cpp218 const GraphicsPipelineDesc& pipelineDesc, in Make() argument
231 sharedContext->rendererProvider()->lookup(pipelineDesc.renderStepID()); in Make()
245 pipelineDesc.paintParamsID(), in Make()