[Mesa-dev] Uploading PIPE_FORMAT_B8G8R8A8_UNORM to pixmap texture in PIPE_FORMAT_B8G8R8X8_UNORM

Fredrik Höglund fredrik at kde.org
Wed Jan 12 04:35:11 PST 2011


On Tuesday 11 January 2011, Alex Deucher wrote:
> On Fri, Jan 7, 2011 at 2:57 AM, Fredrik Höglund <fredrik at kde.org> wrote:
> > On Thursday 16 December 2010, Michel Dänzer wrote:
> >> The bigger issue here is that no blit should be necessary in the first
> >> place. According to Dave on IRC he implemented this using sampler views
> >> at some point, I guess that was probably broken during some EGL rework.
> >
> > Actually this is a regression from the changes to st_finalize_texture
> > in cae2bb76.
> >
> > The attached patch fixes the issue for me, and the piglit test still passes.
> > I don't know if it's correct in all cases though.
> >
> > If the patch looks good to you I'd like to see it in the 7.10 release.
> 
> Do you have commit permissions or would you like me to push it?

Yeah, I don't think I have push access to the Mesa repos, so please
go ahead. Should have mentioned that :)

Regards,
Fredrik



More information about the mesa-dev mailing list