Lines Matching defs:desc

648 	const struct util_format_description *desc;
654 desc = util_format_description(params->pipe_format);
659 swizzle_res = r600_get_swizzle_combined(desc->swizzle, params->swizzle, TRUE);
1056 const struct util_format_description *desc;
1071 desc = util_format_description(pformat);
1073 if (desc->channel[i].type != UTIL_FORMAT_TYPE_VOID) {
1078 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
1080 else if (desc->channel[i].type == UTIL_FORMAT_TYPE_SIGNED) {
1081 if (desc->channel[i].normalized)
1083 else if (desc->channel[i].pure_integer)
1085 } else if (desc->channel[i].type == UTIL_FORMAT_TYPE_UNSIGNED) {
1086 if (desc->channel[i].normalized)
1088 else if (desc->channel[i].pure_integer)
1090 } else if (desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT) {
1128 const struct util_format_description *desc;
1181 desc = util_format_description(pformat);
1183 if (desc->channel[i].type != UTIL_FORMAT_TYPE_VOID) {
1196 color->attrib |= S_028C74_FORCE_DST_ALPHA_1(desc->swizzle[3] ==
1207 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB)
1209 else if (desc->channel[i].type == UTIL_FORMAT_TYPE_SIGNED) {
1210 if (desc->channel[i].normalized)
1212 else if (desc->channel[i].pure_integer)
1214 } else if (desc->channel[i].type == UTIL_FORMAT_TYPE_UNSIGNED) {
1215 if (desc->channel[i].normalized)
1217 else if (desc->channel[i].pure_integer)
1219 } else if (desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT) {
1267 if (desc->colorspace != UTIL_FORMAT_COLORSPACE_ZS &&
1268 ((desc->channel[i].size < 12 &&
1269 desc->channel[i].type != UTIL_FORMAT_TYPE_FLOAT &&
1271 (desc->channel[i].size < 17 &&
1272 desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT))) {