29 "layout qualifiers are not allowed in this kind of program");
45 "local size layout qualifiers are only allowed in a compute program");
51 "local size layout qualifiers must be defined using an 'in' declaration");
65 return std::make_unique<ModifiersDeclaration>(modifiers.
fPosition,
void error(Position position, std::string_view msg)
static std::unique_ptr< ModifiersDeclaration > Make(const Context &context, const Modifiers &modifiers)
static std::unique_ptr< ModifiersDeclaration > Convert(const Context &context, const Modifiers &modifiers)
SkSL::ModifierFlags fFlags
static bool IsVertex(ProgramKind kind)
static bool IsFragment(ProgramKind kind)
static bool IsCompute(ProgramKind kind)