Re: [Mesa-dev] [PATCH 3/3] translate: implement translation of 10_10_10_2 types

2012-01-04 Thread Dave Airlie
On Mon, Jan 2, 2012 at 1:07 PM, Marek Olšák mar...@gmail.com wrote: This is for GL_ARB_vertex_type_2_10_10_10_rev. I just took the code from u_format_table.c. It's based on pack_rgba_float. I had no other choice. The u_format hooks are not exactly compatible with translate. The cleanup of it

[Mesa-dev] [PATCH 3/3] translate: implement translation of 10_10_10_2 types

2012-01-02 Thread Marek Olšák
This is for GL_ARB_vertex_type_2_10_10_10_rev. I just took the code from u_format_table.c. It's based on pack_rgba_float. I had no other choice. The u_format hooks are not exactly compatible with translate. The cleanup of it is left for future work. --- .../auxiliary/translate/translate_generic.c