/************************************************************************************************** *** This file was autogenerated from GrDSLFPTest_DoStatement.fp; do not modify. **************************************************************************************************/ #ifndef GrDSLFPTest_DoStatement_DEFINED #define GrDSLFPTest_DoStatement_DEFINED #include "include/core/SkM44.h" #include "include/core/SkTypes.h" #include "src/gpu/GrFragmentProcessor.h" class GrDSLFPTest_DoStatement : public GrFragmentProcessor { public: static std::unique_ptr Make(bool shouldLoop) { return std::unique_ptr(new GrDSLFPTest_DoStatement(shouldLoop)); } GrDSLFPTest_DoStatement(const GrDSLFPTest_DoStatement& src); std::unique_ptr clone() const override; const char* name() const override { return "DSLFPTest_DoStatement"; } bool shouldLoop; private: GrDSLFPTest_DoStatement(bool shouldLoop) : INHERITED(kGrDSLFPTest_DoStatement_ClassID, kNone_OptimizationFlags) , shouldLoop(shouldLoop) { } std::unique_ptr onMakeProgramImpl() const override; void onGetGLSLProcessorKey(const GrShaderCaps&, GrProcessorKeyBuilder*) const override; bool onIsEqual(const GrFragmentProcessor&) const override; #if GR_TEST_UTILS SkString onDumpInfo() const override; #endif GR_DECLARE_FRAGMENT_PROCESSOR_TEST using INHERITED = GrFragmentProcessor; }; #endif