Re: [Intel-gfx] [PATCH] intel: Allocate swrast buffer (#54782)

2012-10-31 Thread Eric Anholt
Frederic Plourde writes: > From: Tomeu Vizoso > > When i915 driver decides to fallback to software, the texture's Map > gets replaced by its Buffer attribute, which is NULL because the > texture hasn't been allocated by swrast yet. > > The attached patch makes sure that the image buffer for the

[Intel-gfx] [PATCH] intel: Allocate swrast buffer (#54782)

2012-10-30 Thread Frederic Plourde
From: Tomeu Vizoso When i915 driver decides to fallback to software, the texture's Map gets replaced by its Buffer attribute, which is NULL because the texture hasn't been allocated by swrast yet. The attached patch makes sure that the image buffer for the texture gets allocated --- src/mesa/