Home | History | Annotate | Download | only in ir

Lines Matching refs:Format

34     enum class Format {
46 static const char* FormatToStr(Format format) {
47 switch (format) {
48 case Format::kUnspecified: return "";
49 case Format::kRGBA32F: return "rgba32f";
50 case Format::kR32F: return "r32f";
51 case Format::kRGBA16F: return "rgba16f";
52 case Format::kR16F: return "r16f";
53 case Format::kRGBA8: return "rgba8";
54 case Format::kR8: return "r8";
55 case Format::kRGBA8I: return "rgba8i";
56 case Format::kR8I: return "r8i";
58 SkFAIL("Unexpected format");
62 static bool ReadFormat(SkString str, Format* format) {
64 *format = Format::kRGBA32F;
67 *format = Format::kR32F;
70 *format = Format::kRGBA16F;
73 *format = Format::kR16F;
76 *format = Format::kRGBA8;
79 *format = Format::kR8;
82 *format = Format::kRGBA8I;
85 *format = Format::kR8I;
93 bool blendSupportAllEquations, Format format, bool pushconstant, Primitive primitive,
105 , fFormat(format)
122 , fFormat(Format::kUnspecified)
171 if (Format::kUnspecified != fFormat) {
260 Format fFormat;