Home
last modified time | relevance | path

Searched refs:input_format_desc (Results 1 – 1 of 1) sorted by relevance

/external/mesa3d/src/gallium/tests/unit/
Dtranslate_test.c195 … const struct util_format_description* input_format_desc = util_format_description(input_format); in main() local
203 if (!input_format_desc in main()
204 || !input_format_desc->fetch_rgba_float in main()
205 || !input_format_desc->pack_rgba_float in main()
206 || input_format_desc->colorspace != UTIL_FORMAT_COLORSPACE_RGB in main()
207 || input_format_desc->layout != UTIL_FORMAT_LAYOUT_PLAIN in main()
213 for(i = 0; i < input_format_desc->nr_channels; ++i) in main()
215 if(input_format_desc->channel[i].type == UTIL_FORMAT_TYPE_FLOAT) in main()
221 input_normalized |= (1 << input_format_desc->channel[i].normalized); in main()
226 …ormat_size * output_format_desc->nr_channels > output_format_size * input_format_desc->nr_channels… in main()
[all …]