Lines Matching defs:sampler
50 for (const auto& sampler : samplers.items()) {
51 // We store the immutable samplers here and take a ref on the sampler. Once we switch to
53 if (sampler.fImmutableSampler) {
54 sampler.fImmutableSampler->ref();
56 fImmutableSamplers.push_back(sampler.fImmutableSampler);
130 const auto& sampler = geomProc.textureSampler(i);
132 samplerBindings[currTextureBinding++] = {sampler.samplerState(), texture};
181 const GrVkSampler* sampler = nullptr;
183 sampler = fImmutableSamplers[i];
185 sampler = gpu->resourceProvider().findOrCreateCompatibleSampler(
187 if (!sampler) {
192 SkASSERT(sampler);
196 imageInfo.sampler = fImmutableSamplers[i] ? VK_NULL_HANDLE : sampler->sampler();
215 commandBuffer->addResource(sampler);
217 sampler->unref();