Searched refs:depth_channel (Results 1 – 2 of 2) sorted by relevance
346 unsigned depth_channel; in util_get_depth_format_mrd() local353 depth_channel = desc->swizzle[0]; in util_get_depth_format_mrd()355 if (desc->channel[depth_channel].type == UTIL_FORMAT_TYPE_UNSIGNED && in util_get_depth_format_mrd()356 desc->channel[depth_channel].normalized) { in util_get_depth_format_mrd()359 depth_bits = desc->channel[depth_channel].size; in util_get_depth_format_mrd()
642 unsigned depth_channel = desc->swizzle[0]; in util_get_depth_format_type() local644 depth_channel != PIPE_SWIZZLE_NONE) { in util_get_depth_format_type()645 return desc->channel[depth_channel].type; in util_get_depth_format_type()