Searched refs:sampleUsage (Results 1 – 6 of 6) sorted by relevance
28 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()
26 if (this->sampleUsage() != that.sampleUsage()) { in isEqual()144 SkSL::SampleUsage sampleUsage) { in registerChild() argument145 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 …]
232 const SkSL::SampleUsage& sampleUsage() const { in sampleUsage() function386 SkSL::SampleUsage sampleUsage = SkSL::SampleUsage::PassThrough());
806 REPORTER_ASSERT(reporter, fp.sampleUsage() == clone.sampleUsage(), in assert_processor_equality()
839 REPORTER_ASSERT(r, fp->childProcessor(0)->sampleUsage().isExplicit() == expectExplicit); in DEF_TEST()
137 if (child && child->sampleUsage().isPassThrough()) { in emitCode()