Searched refs:swizzle_used (Results 1 – 1 of 1) sorted by relevance
72 boolean swizzle_used[UTIL_FORMAT_SWIZZLE_MAX]; in nr_logical_channels() local74 memset(swizzle_used, 0, sizeof(swizzle_used)); in nr_logical_channels()76 swizzle_used[desc->swizzle[0]] = TRUE; in nr_logical_channels()77 swizzle_used[desc->swizzle[1]] = TRUE; in nr_logical_channels()78 swizzle_used[desc->swizzle[2]] = TRUE; in nr_logical_channels()79 swizzle_used[desc->swizzle[3]] = TRUE; in nr_logical_channels()81 return (swizzle_used[UTIL_FORMAT_SWIZZLE_X] + in nr_logical_channels()82 swizzle_used[UTIL_FORMAT_SWIZZLE_Y] + in nr_logical_channels()83 swizzle_used[UTIL_FORMAT_SWIZZLE_Z] + in nr_logical_channels()84 swizzle_used[UTIL_FORMAT_SWIZZLE_W]); in nr_logical_channels()