Index: src/sksl/ir/SkSLProgram.h |
diff --git a/src/sksl/ir/SkSLProgram.h b/src/sksl/ir/SkSLProgram.h |
index 3a842e9577f76e4e0a6ad89a14354280a1429ccd..205db6e9320913bc02bf9eb877c83fbf2018a50d 100644 |
--- a/src/sksl/ir/SkSLProgram.h |
+++ b/src/sksl/ir/SkSLProgram.h |
@@ -11,7 +11,6 @@ |
#include <vector> |
#include <memory> |
-#include "SkSLModifiers.h" |
#include "SkSLProgramElement.h" |
#include "SkSLSymbolTable.h" |
@@ -26,20 +25,16 @@ |
kVertex_Kind |
}; |
- Program(Kind kind, |
- Modifiers::Flag defaultPrecision, |
- std::vector<std::unique_ptr<ProgramElement>> elements, |
+ Program(Kind kind, std::vector<std::unique_ptr<ProgramElement>> elements, |
std::shared_ptr<SymbolTable> symbols) |
: fKind(kind) |
- , fDefaultPrecision(defaultPrecision) |
, fElements(std::move(elements)) |
, fSymbols(symbols) {} |
Kind fKind; |
- Modifiers::Flag fDefaultPrecision; |
+ |
std::vector<std::unique_ptr<ProgramElement>> fElements; |
std::shared_ptr<SymbolTable> fSymbols; |
- // FIXME handle different types; currently it assumes this is for floats |
}; |
} // namespace |