On Tue, May 25, 2010 at 9:51 AM, Jerome Glisse <gli...@freedesktop.org>wrote:
> On Tue, May 25, 2010 at 12:35:45AM +0200, Bas Nieuwenhuizen wrote: > > Hello, > > > > I wrote two patches that fix various things to get r600g running on my > > computer and to get r600_clear and depthtesting working. > > > > I wrote them starting from Marek's r600g branch. > > > > Feel free to criticize as this is my first contribution to a large > > project. > > > > - Bas Nieuwenhuizen > > > > patches: > > http://www.basnieuwenhuizen.nl/0001-r600g-various-fixes.patch > > I don't think change to r600_texture_destroy is right, why did you > remove the unreference there ? > pipe_resource_reference calls resource_destroy (that is r600_texture_destroy here) if the reference counter is zero. Using pipe_resource_reference in the destroy function itself seems rather pointless and I think it's even undefined. -Marek
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev