Home
last modified time | relevance | path

Searched refs:rootSig (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/gpu/d3d/
DGrD3DRootSignature.cpp105 gr_cp<ID3D12RootSignature> rootSig; in Make() local
108 rootSigBinary->GetBufferSize(), IID_PPV_ARGS(&rootSig)); in Make()
114 return sk_sp<GrD3DRootSignature>(new GrD3DRootSignature(std::move(rootSig), in Make()
119 GrD3DRootSignature::GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, in GrD3DRootSignature() argument
121 : fRootSignature(std::move(rootSig)) in GrD3DRootSignature()
DGrD3DResourceProvider.cpp60 auto rootSig = GrD3DRootSignature::Make(fGpu, numTextureSamplers, numUAVs); in findOrCreateRootSignature() local
61 if (!rootSig) { in findOrCreateRootSignature()
64 fRootSignatures.push_back(rootSig); in findOrCreateRootSignature()
65 return rootSig; in findOrCreateRootSignature()
257 sk_sp<GrD3DRootSignature> rootSig = this->findOrCreateRootSignature(1, 1); in findOrCreateMipmapPipeline() local
260 GrD3DPipelineStateBuilder::MakeComputePipeline(fGpu, rootSig.get(), shader); in findOrCreateMipmapPipeline()
DGrD3DCommandList.cpp363 void GrD3DDirectCommandList::setGraphicsRootSignature(const sk_sp<GrD3DRootSignature>& rootSig) { in setGraphicsRootSignature() argument
365 if (fCurrentGraphicsRootSignature != rootSig.get()) { in setGraphicsRootSignature()
366 fCommandList->SetGraphicsRootSignature(rootSig->rootSignature()); in setGraphicsRootSignature()
367 this->addResource(rootSig); in setGraphicsRootSignature()
368 fCurrentGraphicsRootSignature = rootSig.get(); in setGraphicsRootSignature()
374 void GrD3DDirectCommandList::setComputeRootSignature(const sk_sp<GrD3DRootSignature>& rootSig) { in setComputeRootSignature() argument
376 if (fCurrentComputeRootSignature != rootSig.get()) { in setComputeRootSignature()
377 fCommandList->SetComputeRootSignature(rootSig->rootSignature()); in setComputeRootSignature()
378 this->addResource(rootSig); in setComputeRootSignature()
379 fCurrentComputeRootSignature = rootSig.get(); in setComputeRootSignature()
DGrD3DPipelineStateBuilder.cpp501 GrD3DGpu* gpu, const GrProgramInfo& programInfo, const sk_sp<GrD3DRootSignature>& rootSig, in create_pipeline_state() argument
507 psoDesc.pRootSignature = rootSig->rootSignature(); in create_pipeline_state()
664 sk_sp<GrD3DRootSignature> rootSig = in finalize() local
666 if (!rootSig) { in finalize()
672 fGpu, fProgramInfo, rootSig, std::move(shaders[kVertex_GrShaderType]), in finalize()
679 std::move(rootSig), in finalize()
693 GrD3DRootSignature* rootSig, in MakeComputePipeline() argument
696 psoDesc.pRootSignature = rootSig->rootSignature(); in MakeComputePipeline()
DGrD3DRootSignature.h43 GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, int numUAVs);
DGrD3DGpu.cpp936 sk_sp<GrD3DRootSignature> rootSig = fResourceProvider.findOrCreateRootSignature(1, 1); in onRegenerateMipMapLevels() local
937 this->currentCommandList()->setComputeRootSignature(rootSig); in onRegenerateMipMapLevels()