Searched refs:first_non_void (Results 1 – 5 of 5) sorted by relevance
155 unsigned first_non_void = util_format_get_first_non_void_channel(format); in zink_decompose_vertex_format() local157 assert(first_non_void == 0); in zink_decompose_vertex_format()166 return unorm_formats[desc->channel[first_non_void].size >> 4]; in zink_decompose_vertex_format()173 return snorm_formats[desc->channel[first_non_void].size >> 4]; in zink_decompose_vertex_format()183 switch (desc->channel[first_non_void].type) { in zink_decompose_vertex_format()185 …return uint_formats[desc->channel[first_non_void].pure_integer][desc->channel[first_non_void].size… in zink_decompose_vertex_format()187 …return sint_formats[desc->channel[first_non_void].pure_integer][desc->channel[first_non_void].size… in zink_decompose_vertex_format()189 … return desc->channel[first_non_void].size == 16 ? PIPE_FORMAT_R16_FLOAT : PIPE_FORMAT_R32_FLOAT; in zink_decompose_vertex_format()
42 radv_translate_buffer_dataformat(const struct util_format_description *desc, int first_non_void) in radv_translate_buffer_dataformat() argument52 if (first_non_void < 0) in radv_translate_buffer_dataformat()54 type = desc->channel[first_non_void].type; in radv_translate_buffer_dataformat()64 if (desc->channel[first_non_void].size != desc->channel[i].size) in radv_translate_buffer_dataformat()68 switch (desc->channel[first_non_void].size) { in radv_translate_buffer_dataformat()94 if (type != UTIL_FORMAT_TYPE_FLOAT && !desc->channel[first_non_void].pure_integer) in radv_translate_buffer_dataformat()117 radv_translate_buffer_numformat(const struct util_format_description *desc, int first_non_void) in radv_translate_buffer_numformat() argument124 if (first_non_void < 0) in radv_translate_buffer_numformat()127 switch (desc->channel[first_non_void].type) { in radv_translate_buffer_numformat()129 if (desc->channel[first_non_void].normalized) in radv_translate_buffer_numformat()[all …]
720 int first_non_void; in radv_make_buffer_descriptor() local723 first_non_void = vk_format_get_first_non_void_channel(vk_format); in radv_make_buffer_descriptor()756 num_format = radv_translate_buffer_numformat(desc, first_non_void); in radv_make_buffer_descriptor()757 data_format = radv_translate_buffer_dataformat(desc, first_non_void); in radv_make_buffer_descriptor()1124 int first_non_void; in si_make_texture_descriptor() local1142 first_non_void = vk_format_get_first_non_void_channel(vk_format); in si_make_texture_descriptor()1144 num_format = radv_translate_tex_numformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()1149 data_format = radv_translate_tex_dataformat(vk_format, desc, first_non_void); in si_make_texture_descriptor()
2319 int first_non_void);2321 int first_non_void);2329 int first_non_void);2334 int first_non_void);2336 int first_non_void);
1682 int first_non_void = util_format_get_first_non_void_channel(format); in si_translate_colorformat() local1685 if (first_non_void >= 0 && first_non_void <= 3 && in si_translate_colorformat()1686 (desc->channel[first_non_void].type == UTIL_FORMAT_TYPE_UNSIGNED || in si_translate_colorformat()1687 desc->channel[first_non_void].type == UTIL_FORMAT_TYPE_SIGNED) && in si_translate_colorformat()1688 !desc->channel[first_non_void].normalized && in si_translate_colorformat()1689 !desc->channel[first_non_void].pure_integer) in si_translate_colorformat()1821 int first_non_void) in si_translate_texformat() argument1980 if (first_non_void < 0 || first_non_void > 3) in si_translate_texformat()1984 if ((desc->channel[first_non_void].type == UTIL_FORMAT_TYPE_UNSIGNED || in si_translate_texformat()1985 desc->channel[first_non_void].type == UTIL_FORMAT_TYPE_SIGNED) && in si_translate_texformat()[all …]