Lines Matching defs:format
39 vertex_element_comp_control(enum isl_format format, unsigned comp)
43 case 0: bits = isl_format_layouts[format].channels.r.bits; break;
44 case 1: bits = isl_format_layouts[format].channels.g.bits; break;
45 case 2: bits = isl_format_layouts[format].channels.b.bits; break;
46 case 3: bits = isl_format_layouts[format].channels.a.bits; break;
69 !isl_format_layouts[format].channels.b.bits &&
70 isl_format_layouts[format].channels.r.type == ISL_RAW) {
76 isl_format_layouts[format].channels.r.type == ISL_RAW) {
80 } else if (isl_format_layouts[format].channels.r.type == ISL_UINT ||
81 isl_format_layouts[format].channels.r.type == ISL_SINT) {
151 enum isl_format format = anv_get_isl_format(&pipeline->base.device->info,
152 vi->attributes[a].format,
170 .SourceElementFormat = format,
173 .Component0Control = vertex_element_comp_control(format, 0),
174 .Component1Control = vertex_element_comp_control(format, 1),
175 .Component2Control = vertex_element_comp_control(format, 2),
176 .Component3Control = vertex_element_comp_control(format, 3),
837 /* Gfx7 requires that we provide the depth format in 3DSTATE_SF so that it
2259 unreachable("invalid index format");