Home | History | Annotate | Download | only in r600

Lines Matching refs:desc

74 	const struct util_format_description *desc =
78 is_depth = util_format_has_depth(desc);
79 is_stencil = util_format_has_stencil(desc);
846 const struct util_format_description *desc;
858 desc = util_format_description(format);
860 word4 |= r600_get_swizzle_combined(desc->swizzle, swizzle_view);
863 switch (desc->colorspace) {
924 if (desc->layout == UTIL_FORMAT_LAYOUT_RGTC) {
948 if (desc->layout == UTIL_FORMAT_LAYOUT_S3TC) {
980 if (desc->layout == UTIL_FORMAT_LAYOUT_SUBSAMPLED) {
1004 for (i = 0; i < desc->nr_channels; i++) {
1005 if (desc->channel[i].type == UTIL_FORMAT_TYPE_SIGNED) {
1013 for (i = 1; i < desc->nr_channels; i++) {
1014 uniform = uniform && desc->channel[0].size == desc->channel[i].size;
1019 if (desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB &&
1020 desc->channel[0].pure_integer)
1022 switch(desc->nr_channels) {
1024 if (desc->channel[0].size == 5 &&
1025 desc->channel[1].size == 6 &&
1026 desc->channel[2].size == 5) {
1032 if (desc->channel[0].size == 5 &&
1033 desc->channel[1].size == 5 &&
1034 desc->channel[2].size == 5 &&
1035 desc->channel[3].size == 1) {
1039 if (desc->channel[0].size == 10 &&
1040 desc->channel[1].size == 10 &&
1041 desc->channel[2].size == 10 &&
1042 desc->channel[3].size == 2) {
1053 if (desc->channel[i].type != UTIL_FORMAT_TYPE_VOID) {
1062 switch (desc->channel[i].type) {
1066 if (!desc->channel[i].normalized &&
1067 desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB) {
1071 if (desc->colorspace != UTIL_FORMAT_COLORSPACE_SRGB &&
1072 desc->channel[i].pure_integer)
1075 switch (desc->channel[i].size) {
1077 switch (desc->nr_channels) {
1087 switch (desc->nr_channels) {
1101 switch (desc->nr_channels) {
1114 switch (desc->nr_channels) {
1129 switch (desc->channel[i].size) {
1131 switch (desc->nr_channels) {
1144 switch (desc->nr_channels) {
1161 if (desc->colorspace == UTIL_FORMAT_COLORSPACE_SRGB && !is_srgb_valid)