20 SK_ABORT(
"Unknown shader variable type modifier.");
24 if (!fLayoutQualifier.
isEmpty()) {
25 out->appendf(
"layout(%s) ", fLayoutQualifier.
c_str());
27 if (!fExtraModifiers.
isEmpty()) {
28 out->appendf(
"%s ", fExtraModifiers.
c_str());
static const char * type_modifier_string(GrShaderVar::TypeModifier t)
#define SK_ABORT(message,...)
const char * SkSLTypeString(SkSLType t)
int getArrayCount() const
const char * c_str() const
TypeModifier getTypeModifier() const
const SkString & getName() const
void appendDecl(const GrShaderCaps *, SkString *out) const
const char * c_str() const
void void void appendf(const char format[],...) SK_PRINTF_LIKE(2