Lines Matching defs:desc
2542 const struct util_format_description *desc;
2573 desc = util_format_description(pformat);
2574 if (desc->layout != UTIL_FORMAT_LAYOUT_PLAIN) {
2580 if (desc->channel[i].type != UTIL_FORMAT_TYPE_VOID) {
2585 *endian = r600_endian_swap(desc->channel[i].size);
2587 switch (desc->channel[i].type) {
2590 switch (desc->channel[i].size) {
2592 switch (desc->nr_channels) {
2606 switch (desc->nr_channels) {
2629 switch (desc->channel[i].size) {
2631 switch (desc->nr_channels) {
2641 switch (desc->nr_channels) {
2655 if (desc->nr_channels != 4)
2661 switch (desc->nr_channels) {
2675 switch (desc->nr_channels) {
2698 if (desc->channel[i].type == UTIL_FORMAT_TYPE_SIGNED) {
2703 if (desc->channel[i].type == UTIL_FORMAT_TYPE_UNSIGNED ||
2704 desc->channel[i].type == UTIL_FORMAT_TYPE_SIGNED) {
2705 if (!desc->channel[i].normalized) {
2706 if (desc->channel[i].pure_integer)
2724 const struct util_format_description *desc;
2786 desc = util_format_description(elements[i].src_format);
2801 vtx.dst_sel_x = desc->swizzle[0];
2802 vtx.dst_sel_y = desc->swizzle[1];
2803 vtx.dst_sel_z = desc->swizzle[2];
2804 vtx.dst_sel_w = desc->swizzle[3];