• Home
  • Raw
  • Download

Lines Matching refs:codeAppendf

317         fb->codeAppendf("return ");  in emitCode()
319 fb->codeAppendf(";"); in emitCode()
340 fb->codeAppendf("float2 inCoord = %s;", args.fSampleCoord); in emitCode()
437 fb->codeAppendf("subsetCoord.%s = inCoord.%s;", coordSwizzle, coordSwizzle); in emitCode()
441 fb->codeAppendf( in emitCode()
461 fb->codeAppendf("float w = %s.%s - %s.%s;", subsetName, subsetStopSwizzle, in emitCode()
463 fb->codeAppendf("float w2 = 2 * w;"); in emitCode()
464 fb->codeAppendf("float d = inCoord.%s - %s.%s;", coordSwizzle, subsetName, in emitCode()
468 fb->codeAppendf("subsetCoord.%s = o + %s.%s;", coordSwizzle, subsetName, in emitCode()
470 fb->codeAppendf("%s = w - o + %s.%s;", extraCoord, subsetName, in emitCode()
476 fb->codeAppendf("%s = saturate(half(mix(n, w2 - n, step(w, n)) - hw + 0.5));", in emitCode()
482 fb->codeAppendf("float w = %s.%s - %s.%s;", subsetName, subsetStopSwizzle, in emitCode()
484 fb->codeAppendf("float w2 = 2 * w;"); in emitCode()
485 fb->codeAppendf("float m = mod(inCoord.%s - %s.%s, w2);", coordSwizzle, in emitCode()
487 fb->codeAppendf("subsetCoord.%s = mix(m, w2 - m, step(w, m)) + %s.%s;", in emitCode()
499 fb->codeAppendf("clampedCoord%s = clamp(subsetCoord%s, %s%s, %s%s);", in emitCode()
503 fb->codeAppendf("clampedCoord%s = subsetCoord%s;", coordSwizzle, coordSwizzle); in emitCode()
545 fb->codeAppendf("extraRepeatCoord = clamp(extraRepeatCoord, %s.xy, %s.zw);", in emitCode()
548 fb->codeAppendf("extraRepeatCoord.x = clamp(extraRepeatCoord.x, %s.x, %s.z);", in emitCode()
551 fb->codeAppendf("extraRepeatCoord.y = clamp(extraRepeatCoord.y, %s.y, %s.w);", in emitCode()
559 fb->codeAppendf( in emitCode()
570 fb->codeAppendf("half4 textureColor = mix(%s, %s, repeatCoordWeightX);", in emitCode()
574 fb->codeAppendf("half4 textureColor = mix(%s, %s, repeatCoordWeightY);", in emitCode()
578 fb->codeAppendf("half4 textureColor = %s;", read("clampedCoord").c_str()); in emitCode()
594 fb->codeAppendf("float repeatCoordX = errX > 0 ? %s.x : %s.z;", in emitCode()
602 fb->codeAppendf("float repeatCoordY = errY > 0 ? %s.y : %s.w;", in emitCode()
615 fb->codeAppendf( in emitCode()
627 fb->codeAppendf( in emitCode()
634 fb->codeAppendf( in emitCode()
644 fb->codeAppendf("textureColor = mix(textureColor, %s, min(abs(errX), 1));", borderName); in emitCode()
647 fb->codeAppendf("textureColor = mix(textureColor, %s, min(abs(errY), 1));", borderName); in emitCode()
654 fb->codeAppendf( in emitCode()
662 fb->codeAppendf( in emitCode()
669 fb->codeAppendf("return textureColor;"); in emitCode()