https://bugs.freedesktop.org/show_bug.cgi?id=88930

            Bug ID: 88930
           Summary: [osmesa] osbuffer->textures should be indexed by
                    attachment type
           Product: Mesa
           Version: git
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
          Assignee: mesa-dev@lists.freedesktop.org
          Reporter: pjm0...@gmail.com
        QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 113080
  --> https://bugs.freedesktop.org/attachment.cgi?id=113080&action=edit
Patch

In osmesa_st_framebuffer_validate(), osbuffer is indexed by i:
>      out[i] = osbuffer->textures[i] =
>         screen->resource_create(screen, &templat);

This caused a crash in OSMesaGetDepthBuffer() at:
>   struct pipe_resource *res = osbuffer->textures[ST_ATTACHMENT_DEPTH_STENCIL];

This has been present since (at least) Mesa 10.1.3 but somehow it worked OK in
10.1.3.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to