Lines Matching defs:shader

143     // Sampling a child shader requires that we pass explicit coords
144 test_valid("uniform shader child;"
199 // Sampling a child shader requires that we pass explicit coords
200 test_valid("uniform shader child;"
213 // Tests that the shader factory rejects or accepts certain SkSL constructs
261 // Sampling a child shader requires that we pass explicit coords
262 test_valid("uniform shader child;"
334 auto shader = fBuilder->makeShader(/*localMatrix=*/nullptr, /*isOpaque=*/false);
335 if (!shader) {
336 REPORT_FAILURE(fReporter, "shader", SkString("Effect didn't produce a shader"));
342 paint.setShader(std::move(shader));
410 // Produces a 2x2 bitmap shader, with opaque colors:
483 effect.build("uniform shader child;"
492 effect.build("uniform shader child;"
498 effect.build("uniform shader child;"
503 // Bind an image shader, but don't use it - ensure that we don't assert or generate bad shaders.
505 effect.build("uniform shader child;"
514 // Test case for inlining in the pipeline-stage and fragment-shader passes (skbug.com/10526):
564 // Fill the destination with a variety of colors (using the RGBW shader)
590 // Sampling a null shader/color filter should return the paint color.
591 effect.build("uniform shader child;"
611 // Sampling a shader at various coordinates
612 effect.build("uniform shader child;"
719 auto shader = b.makeShader(/*localMatrix=*/nullptr, /*isOpaque=*/false);
765 "uniform shader paint;"
784 "uniform shader child;"
831 SkRuntimeEffect::MakeForShader(SkStringPrintf("uniform shader child; %s", src));
930 // Render our shader into the fill-context with our various input colors.