Searched refs:format_conversion_table (Results 1 – 1 of 1) sorted by relevance
47 static const struct vgpu10_format_entry format_conversion_table[] = variable369 assert(format < ARRAY_SIZE(format_conversion_table)); in svga_translate_vertex_format_vgpu10()370 if (format >= ARRAY_SIZE(format_conversion_table)) { in svga_translate_vertex_format_vgpu10()373 *svga_format = format_conversion_table[format].vertex_format; in svga_translate_vertex_format_vgpu10()374 *vf_flags = format_conversion_table[format].flags; in svga_translate_vertex_format_vgpu10()388 return format_conversion_table[format].vertex_format; in svga_translate_format()391 return format_conversion_table[format].pixel_format; in svga_translate_format()1842 STATIC_ASSERT(ARRAY_SIZE(format_conversion_table) == PIPE_FORMAT_COUNT); in check_format_tables()1843 for (i = 0; i < ARRAY_SIZE(format_conversion_table); i++) { in check_format_tables()1844 assert(format_conversion_table[i].pformat == i); in check_format_tables()[all …]