On 02/01/2017 04:54 PM, Christian König wrote: > Am 01.02.2017 um 16:50 schrieb Thomas Hellstrom: >> Hi, Again, >> >> (No need answering while on sick leave!). > > Actually I'm bored, but can't concentrate on coding when my body > temperature isn't in the normal range :( > >>>> Hui? That's not how I remembered it. >>>> >>>> For the dma-buf part we export one layer of a 2D_ARRAY texture and >>>> then import that as "normal" 2D texture. >> Here it looks like we always export the first layer... >> >> whandle.layer = surf->u.tex.first_layer; (vdpau / surface.c) > > If I remember correctly surf is selected based on plane and so > surf->u.tex.first_layer should be either 0 or 1 anyway. >
Ah. You're right. I misread tex.first_layer as being the first layer in the texture. Not the surface first layer. Thanks for the explanation! Thomas > Regards, > Christian. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev