Lines Matching defs:texIdx
22 GrGLSLVarying* texIdx,
32 int texIdx = 0;
39 int texIdx = ((coords.x >> 12) & 0xc) + ((coords.y >> 14) & 0x3);
45 int texIdx = coords.x >> 13;
53 float texIdx = 0;
62 float texIdx = 4 * diff0 + diff1;
68 float texIdx = floor(coord.x * exp2(-13));
69 float2 unormTexCoords = float2(coord.x - texIdx * exp2(13), coord.y);
83 texIdx->reset(kFloat_GrSLType);
84 // If we computed the local var "texIdx" as an int we will need to cast it to float
86 args.fVaryingHandler->addVarying("TexIndex", texIdx, Interpolation::kCanBeFlat);
87 args.fVertBuilder->codeAppendf("%s = %s(texIdx);", texIdx->vsOut(), cast);
98 const GrGLSLVarying& texIdx,
110 args.fFragBuilder->codeAppendf("if (%s == %d) { %s = ", texIdx.fsIn(), i, colorName);