Lines Matching refs:numTextureSamplers
13 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()
70 unsigned numDescriptorRanges = numUAVs ? numTextureSamplers + 1 : numTextureSamplers; in Make()
78 if (numTextureSamplers) { in Make()
80 parameters[parameterCount].DescriptorTable.NumDescriptorRanges = numTextureSamplers; in Make()
115 numTextureSamplers, in Make()
119 GrD3DRootSignature::GrD3DRootSignature(gr_cp<ID3D12RootSignature> rootSig, int numTextureSamplers, in GrD3DRootSignature() argument
122 , fNumTextureSamplers(numTextureSamplers) in GrD3DRootSignature()
126 bool GrD3DRootSignature::isCompatible(int numTextureSamplers, int numUAVs) const { in isCompatible() argument
127 return fNumTextureSamplers == numTextureSamplers && fNumUAVs == numUAVs; in isCompatible()