Home
last modified time | relevance | path

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

/external/mesa3d/src/gallium/drivers/svga/
Dsvga_format.c57 static const struct vgpu10_format_entry format_conversion_table[] = variable
383 assert(format < ARRAY_SIZE(format_conversion_table)); in svga_translate_vertex_format_vgpu10()
384 if (format >= ARRAY_SIZE(format_conversion_table)) { in svga_translate_vertex_format_vgpu10()
387 *svga_format = format_conversion_table[format].vertex_format; in svga_translate_vertex_format_vgpu10()
388 *vf_flags = format_conversion_table[format].flags; in svga_translate_vertex_format_vgpu10()
425 return format_conversion_table[format].vertex_format; in svga_translate_format()
431 return format_conversion_table[format].pixel_format; in svga_translate_format()
1587 STATIC_ASSERT(ARRAY_SIZE(format_conversion_table) == PIPE_FORMAT_COUNT); in check_format_tables()
1588 for (i = 0; i < ARRAY_SIZE(format_conversion_table); i++) { in check_format_tables()
1589 assert(format_conversion_table[i].pformat == i); in check_format_tables()
[all …]