Re: [Mesa-dev] [PATCH 1/2] mesa/formats: add some formats from GL3.3

2015-07-30 Thread Roland Scheidegger
Hmm I guess we can't convert it to something else when we don't have a matching MESA_FORMAT? Roland Am 30.07.2015 um 03:48 schrieb Dave Airlie: > From: Dave Airlie > > GL3.3 added GL_ARB_texture_rgb10_a2ui, which specifies > a lot more things than just rgb10/a2ui. > > While playing with ogl co

Re: [Mesa-dev] [PATCH 1/2] mesa/formats: add some formats from GL3.3

2015-07-30 Thread Marek Olšák
That said, it looks like the packing code has changed a lot since I last worked with it, so I don't know. Marek On Thu, Jul 30, 2015 at 10:06 AM, Marek Olšák wrote: > The spec only says we should support packing to and unpacking from > 332, 565, , 5551, but it doesn't specify any INTERNAL fo

Re: [Mesa-dev] [PATCH 1/2] mesa/formats: add some formats from GL3.3

2015-07-30 Thread Marek Olšák
The spec only says we should support packing to and unpacking from 332, 565, , 5551, but it doesn't specify any INTERNAL formats for those, so no new formats need to be added to Mesa. I guess the packing formats are only supported for convenience. Marek On Thu, Jul 30, 2015 at 3:48 AM, Dave A

[Mesa-dev] [PATCH 1/2] mesa/formats: add some formats from GL3.3

2015-07-29 Thread Dave Airlie
From: Dave Airlie GL3.3 added GL_ARB_texture_rgb10_a2ui, which specifies a lot more things than just rgb10/a2ui. While playing with ogl conform one of the tests must attempted all valid formats for GL3.3 and hits the unreachable here. This adds the first chunk of formats that hit the assert. S