Home
last modified time | relevance | path

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

/third_party/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()
DGrD3DCommandList.cpp347 void GrD3DDirectCommandList::setGraphicsRootSignature(const sk_sp<GrD3DRootSignature>& rootSig) { in setGraphicsRootSignature() argument
349 if (fCurrentGraphicsRootSignature != rootSig.get()) { in setGraphicsRootSignature()
350 fCommandList->SetGraphicsRootSignature(rootSig->rootSignature()); in setGraphicsRootSignature()
351 this->addResource(rootSig); in setGraphicsRootSignature()
352 fCurrentGraphicsRootSignature = rootSig.get(); in setGraphicsRootSignature()
358 void GrD3DDirectCommandList::setComputeRootSignature(const sk_sp<GrD3DRootSignature>& rootSig) { in setComputeRootSignature() argument
360 if (fCurrentComputeRootSignature != rootSig.get()) { in setComputeRootSignature()
361 fCommandList->SetComputeRootSignature(rootSig->rootSignature()); in setComputeRootSignature()
362 this->addResource(rootSig); in setComputeRootSignature()
363 fCurrentComputeRootSignature = rootSig.get(); in setComputeRootSignature()
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()
DGrD3DPipelineStateBuilder.cpp498 GrD3DGpu* gpu, const GrProgramInfo& programInfo, const sk_sp<GrD3DRootSignature>& rootSig, in create_pipeline_state() argument
504 psoDesc.pRootSignature = rootSig->rootSignature(); in create_pipeline_state()
642 sk_sp<GrD3DRootSignature> rootSig = in finalize() local
644 if (!rootSig) { in finalize()
650 fGpu, fProgramInfo, rootSig, std::move(shaders[kVertex_GrShaderType]), in finalize()
657 std::move(rootSig), in finalize()
671 GrD3DRootSignature* rootSig, in MakeComputePipeline() argument
674 psoDesc.pRootSignature = rootSig->rootSignature(); in MakeComputePipeline()
DGrD3DRootSignature.h43 GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, int numUAVs);
DGrD3DGpu.cpp1125 sk_sp<GrD3DRootSignature> rootSig = fResourceProvider.findOrCreateRootSignature(1, 1); in onRegenerateMipMapLevels() local
1126 this->currentCommandList()->setComputeRootSignature(rootSig); in onRegenerateMipMapLevels()