Searched refs:firstchan (Results 1 – 1 of 1) sorted by relevance
2353 int firstchan; in si_initialize_color_surface() local2357 for (firstchan = 0; firstchan < 4; firstchan++) { in si_initialize_color_surface()2358 if (desc->channel[firstchan].type != UTIL_FORMAT_TYPE_VOID) { in si_initialize_color_surface()2362 if (firstchan == 4 || desc->channel[firstchan].type == UTIL_FORMAT_TYPE_FLOAT) { in si_initialize_color_surface()2368 else if (desc->channel[firstchan].type == UTIL_FORMAT_TYPE_SIGNED) { in si_initialize_color_surface()2369 if (desc->channel[firstchan].pure_integer) { in si_initialize_color_surface()2372 assert(desc->channel[firstchan].normalized); in si_initialize_color_surface()2375 } else if (desc->channel[firstchan].type == UTIL_FORMAT_TYPE_UNSIGNED) { in si_initialize_color_surface()2376 if (desc->channel[firstchan].pure_integer) { in si_initialize_color_surface()2379 assert(desc->channel[firstchan].normalized); in si_initialize_color_surface()