Added DSL fragmentProcessor and Sample function
Change-Id: I76348d151fbf27454a6f60e4f5f7e1774731e61b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/395216
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
diff --git a/src/sksl/SkSLProgramSettings.h b/src/sksl/SkSLProgramSettings.h
index f2edddd..66260a1 100644
--- a/src/sksl/SkSLProgramSettings.h
+++ b/src/sksl/SkSLProgramSettings.h
@@ -9,22 +9,11 @@
#define SKSL_PROGRAMSETTINGS
#include "include/private/SkSLDefines.h"
+#include "include/private/SkSLProgramKind.h"
namespace SkSL {
/**
- * SkSL supports several different program kinds.
- */
-enum class ProgramKind : int8_t {
- kFragment,
- kVertex,
- kGeometry,
- kFragmentProcessor,
- kRuntimeEffect,
- kGeneric,
-};
-
-/**
* Holds the compiler settings for a program.
*/
struct ProgramSettings {