Searched refs:to_desc (Results 1 – 1 of 1) sorted by relevance
37 const struct util_format_description *to_desc) in convert_value() argument39 if (from_desc->format == to_desc->format) in convert_value()46 assert(from_desc->block.bits == to_desc->block.bits); in convert_value()47 assert(from_desc->nr_channels <= 4 && to_desc->nr_channels <= 4); in convert_value()105 if (to_desc->format == PIPE_FORMAT_R10G10B10A2_UINT || in convert_value()106 to_desc->format == PIPE_FORMAT_R10G10B10A2_UNORM) { in convert_value()115 if (to_desc->format == PIPE_FORMAT_R10G10B10A2_UNORM) in convert_value()118 } else if (to_desc->format == PIPE_FORMAT_R11G11B10_FLOAT) { in convert_value()125 } else if (to_desc->is_unorm || to_desc->is_snorm) { in convert_value()127 DIV_ROUND_UP(to_desc->nr_channels * to_desc->channel[0].size, 32), 32); in convert_value()[all …]