Lines Matching refs:GrShaderVar
69 this->addAttribute(GrShaderVar(attr.fName, in emitAttributes()
71 GrShaderVar::kIn_TypeModifier, in emitAttributes()
72 GrShaderVar::kNonArray, in emitAttributes()
77 void GrGLSLVaryingHandler::addAttribute(const GrShaderVar& var) { in addAttribute()
78 SkASSERT(GrShaderVar::kIn_TypeModifier == var.getTypeModifier()); in addAttribute()
80 const GrShaderVar& attr = fVertexInputs[j]; in addAttribute()
110 fVertexOutputs.push_back().set(v.fType, v.fVsOut, GrShaderVar::kOut_TypeModifier, in finalize()
113 fGeomInputs.push_back().set(v.fType, v.fVsOut, GrShaderVar::kUnsizedArray, in finalize()
114 GrShaderVar::kIn_TypeModifier, v.fPrecision, nullptr, in finalize()
121 fGeomOutputs.push_back().set(v.fType, v.fGsOut, GrShaderVar::kOut_TypeModifier, in finalize()
125 fFragInputs.push_back().set(v.fType, fsIn, GrShaderVar::kIn_TypeModifier, v.fPrecision, in finalize()