Home
last modified time | relevance | path

Searched refs:numTextureSamplers (Results 1 – 23 of 23) sorted by relevance

/third_party/skia/src/gpu/d3d/
DGrD3DRootSignature.cpp13 sk_sp<GrD3DRootSignature> GrD3DRootSignature::Make(GrD3DGpu* gpu, int numTextureSamplers, in Make() argument
25 int numShaderViews = numTextureSamplers + numUAVs; in Make()
26 SkAutoTArray<D3D12_DESCRIPTOR_RANGE> samplerRanges(numTextureSamplers); in Make()
28 if (numTextureSamplers) { in Make()
35 for (int i = 0; i < numTextureSamplers; ++i) { in Make()
56 shaderViewRanges[numTextureSamplers].RangeType = D3D12_DESCRIPTOR_RANGE_TYPE_UAV; in Make()
57 shaderViewRanges[numTextureSamplers].NumDescriptors = numUAVs; in Make()
60 shaderViewRanges[numTextureSamplers].BaseShaderRegister = 2 * numTextureSamplers; in Make()
62 shaderViewRanges[numTextureSamplers].RegisterSpace = in Make()
65 shaderViewRanges[numTextureSamplers].OffsetInDescriptorsFromTableStart = in Make()
[all …]
DGrD3DRootSignature.h18 static sk_sp<GrD3DRootSignature> Make(GrD3DGpu* gpu, int numTextureSamplers, int numUAVs);
29 bool isCompatible(int numTextureSamplers, int numUAVs) const;
43 GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, int numUAVs);
DGrD3DResourceProvider.cpp52 sk_sp<GrD3DRootSignature> GrD3DResourceProvider::findOrCreateRootSignature(int numTextureSamplers, in findOrCreateRootSignature() argument
55 if (fRootSignatures[i]->isCompatible(numTextureSamplers, numUAVs)) { in findOrCreateRootSignature()
60 auto rootSig = GrD3DRootSignature::Make(fGpu, numTextureSamplers, numUAVs); in findOrCreateRootSignature()
DGrD3DPipelineState.cpp97 SkASSERT(geomProcTextures || !geomProc.numTextureSamplers()); in setAndBindTextures()
103 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setAndBindTextures()
DGrD3DResourceProvider.h43 sk_sp<GrD3DRootSignature> findOrCreateRootSignature(int numTextureSamplers,
DGrD3DOpsRenderPass.cpp224 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in onBindTextures()
/third_party/skia/src/gpu/effects/
DGrAtlasedShaderHelpers.h18 int numTextureSamplers, in append_index_uv_varyings() argument
30 if (numTextureSamplers <= 1) { in append_index_uv_varyings()
51 if (numTextureSamplers <= 1) { in append_index_uv_varyings()
97 int numTextureSamplers, in append_multitexture_lookup() argument
101 SkASSERT(numTextureSamplers > 0); in append_multitexture_lookup()
103 if (numTextureSamplers <= 0) { in append_multitexture_lookup()
109 for (int i = 0; i < numTextureSamplers-1; ++i) { in append_multitexture_lookup()
115 args.fFragBuilder->appendTextureLookup(args.fTexSamplers[numTextureSamplers - 1], coordName); in append_multitexture_lookup()
DGrDistanceFieldGeoProc.cpp96 dfTexEffect.numTextureSamplers(), in onEmitCode()
112 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
273 b->add32(this->numTextureSamplers()); in addToKey()
360 dfPathEffect.numTextureSamplers(), in onEmitCode()
397 append_multitexture_lookup(args, dfPathEffect.numTextureSamplers(), texIdx, "uv", in onEmitCode()
540 b->add32(this->numTextureSamplers()); in addToKey()
644 dfTexEffect.numTextureSamplers(), in onEmitCode()
701 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
709 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
714 append_multitexture_lookup(args, dfTexEffect.numTextureSamplers(), in onEmitCode()
[all …]
DGrBitmapTextGeoProc.cpp61 btgp.numTextureSamplers(), in onEmitCode()
89 append_multitexture_lookup(args, btgp.numTextureSamplers(), in onEmitCode()
187 b->add32(this->numTextureSamplers(), "numTextures"); in addToKey()
/third_party/skia/src/gpu/
DGrProgramDesc.cpp60 int numTextureSamplers = geomProc.numTextureSamplers(); in add_geomproc_sampler_keys() local
61 b->add32(numTextureSamplers, "ppNumSamplers"); in add_geomproc_sampler_keys()
62 for (int i = 0; i < numTextureSamplers; ++i) { in add_geomproc_sampler_keys()
DGrOpsRenderPass.cpp111 bool hasTextures = (programInfo.geomProc().numTextureSamplers() > 0); in bindPipeline()
144 SkASSERT((geomProc.numTextureSamplers() > 0) == SkToBool(geomProcTextures)); in bindTextures()
145 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in bindTextures()
DGrOpFlushState.cpp165 for (int i = 0; i < geomProc->numTextureSamplers(); ++i) { in recordDraw()
249 for (int i = 0; i < fGeometryProcessor->numTextureSamplers(); ++i) { in ~Draw()
DGrOpFlushState.h208 SkASSERT(geomProc.numTextureSamplers() == 1); in bindTextures()
DGrGeometryProcessor.h166 int numTextureSamplers() const { return fTextureSamplerCnt; } in numTextureSamplers() function
DGrGeometryProcessor.cpp22 SkASSERT(i >= 0 && i < this->numTextureSamplers()); in textureSampler()
/third_party/skia/src/gpu/gl/
DGrGLProgram.cpp127 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in bindTextures()
133 int nextTexSamplerIdx = geomProc.numTextureSamplers(); in bindTextures()
/third_party/skia/src/gpu/vk/
DGrVkPipelineState.cpp117 SkASSERT(geomProcTextures || !geomProc.numTextureSamplers()); in setAndBindTextures()
128 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setAndBindTextures()
DGrVkOpsRenderPass.cpp692 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in onBindTextures()
/third_party/skia/src/gpu/glsl/
DGrGLSLProgramBuilder.cpp96 SkAutoSTArray<4, SamplerHandle> texSamplers(geomProc.numTextureSamplers()); in emitAndInstallPrimProc()
97 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in emitAndInstallPrimProc()
/third_party/skia/src/gpu/ops/
DAtlasTextOp.cpp351 if (gp->numTextureSamplers() != (int) numActiveViews) { in createDrawForGeneratedGlyphs()
354 for (unsigned i = gp->numTextureSamplers(); i < numActiveViews; ++i) { in createDrawForGeneratedGlyphs()
DSmallPathRenderer.cpp549 if (gp->numTextureSamplers() != numActiveProxies) { in flush()
550 for (int i = gp->numTextureSamplers(); i < numActiveProxies; ++i) { in flush()
/third_party/skia/src/gpu/mtl/
DGrMtlPipelineState.mm98 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) {
/third_party/skia/src/gpu/dawn/
DGrDawnProgramBuilder.cpp529 for (int i = 0; i < geomProc.numTextureSamplers(); ++i) { in setTextures()