Lines Matching defs:read
410 // Generates a string to read at a coordinate, normalizing coords if necessary.
411 auto read = [&](const char* coord) {
453 // read from the upward sloping one is selected using a weight
557 // read at clampedCoord.
564 read("clampedCoord").c_str(),
565 read("float2(extraRepeatCoord.x, clampedCoord.y)").c_str(),
566 read("float2(clampedCoord.x, extraRepeatCoord.y)").c_str(),
567 read("float2(extraRepeatCoord.x, extraRepeatCoord.y)").c_str());
571 read("clampedCoord").c_str(),
572 read("float2(extraRepeatCoord.x, clampedCoord.y)").c_str());
575 read("clampedCoord").c_str(),
576 read("float2(clampedCoord.x, extraRepeatCoord.y)").c_str());
578 fb->codeAppendf("half4 textureColor = %s;", read("clampedCoord").c_str());
596 repeatLinearReadX = read("float2(repeatCoordX, clampedCoord.y)");
604 repeatLinearReadY = read("float2(clampedCoord.x, repeatCoordY)");
614 auto repeatLinearReadXY = read("float2(repeatCoordX, repeatCoordY)");