25 std::unique_ptr<SkSL::Program> program =
compiler.convertProgram(kind, std::string(
src),
41 sk_FragColor = half4(0);
void SK_SPI SkDebugf(const char format[],...) SK_PRINTF_LIKE(1
DEF_TEST(SkSLSPIRVTestbed, r)
static void test(skiatest::Reporter *r, const char *src, SkSL::ProgramKind kind=SkSL::ProgramKind::kFragment)
#define REPORTER_ASSERT(r, cond,...)
static const ShaderCaps * Default()
bool ToSPIRV(Program &program, const ShaderCaps *caps, OutputStream &out)