Home
last modified time | relevance | path

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

/third_party/skia/src/gpu/
DGrGeometryProcessor.cpp28 uint32_t key = static_cast<uint32_t>(fp.sampleUsage().kind()) << 1; in ComputeCoordTransformsKey()
30 if (fp.sampleUsage().hasPerspective()) { in ComputeCoordTransformsKey()
140 switch (fp.sampleUsage().kind()) { in collectTransforms()
149 hasPerspective |= fp.sampleUsage().hasPerspective(); in collectTransforms()
209 !child->sampleUsage().isExplicit() && in collectTransforms()
210 !child->sampleUsage().isFragCoord() && in collectTransforms()
238 SkASSERT(fp->sampleUsage().isUniformMatrix()); in emitTransformCode()
256 } else if (base->sampleUsage().isUniformMatrix()) { in emitTransformCode()
264 } else if (base->sampleUsage().isFragCoord()) { in emitTransformCode()
270 SkASSERT(base->sampleUsage().isPassThrough() || !base->sampleUsage().isSampled()); in emitTransformCode()
DGrFragmentProcessor.cpp26 if (this->sampleUsage() != that.sampleUsage()) { in isEqual()
144 SkSL::SampleUsage sampleUsage) { in registerChild() argument
145 SkASSERT(sampleUsage.isSampled()); in registerChild()
154 SkASSERT(!child->fParent && !child->sampleUsage().isSampled()); in registerChild()
157 child->fUsage = sampleUsage; in registerChild()
166 if ((sampleUsage.isPassThrough() || sampleUsage.isUniformMatrix()) && in registerChild()
183 this->registerChild(fp->clone(), fp->sampleUsage()); in cloneAndRegisterAllChildProcessors()
879 SkASSERT(!childProc->sampleUsage().isUniformMatrix()); in invokeChild()
882 SkASSERT(!childProc->sampleUsage().isFragCoord() || skslCoords == "sk_FragCoord.xy"); in invokeChild()
907 SkASSERT(childProc->sampleUsage().isUniformMatrix()); in invokeChildWithMatrix()
[all …]
DGrFragmentProcessor.h232 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage() function
386 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough());
/third_party/skia/tests/
DProcessorTest.cpp806 REPORTER_ASSERT(reporter, fp.sampleUsage() == clone.sampleUsage(), in assert_processor_equality()
DSkRuntimeEffectTest.cpp839 REPORTER_ASSERT(r, fp->childProcessor(0)->sampleUsage().isExplicit() == expectExplicit); in DEF_TEST()
/third_party/skia/src/gpu/effects/
DGrSkSLFP.cpp137 if (child && child->sampleUsage().isPassThrough()) { in emitCode()