Re: [Mesa-dev] [PATCH] i915: Initialize swrast_texture_image structure fields.

2012-02-17 Thread Eric Anholt
On Thu, 16 Feb 2012 22:57:32 -0800, Paul Berry wrote: > Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale > fields to swrast) moved the initialization of the Width, Height, and > DepthScale fields to _swrast_alloc_texture_image_buffer(). However, > i915 doesn't call this functi

Re: [Mesa-dev] [PATCH] i915: Initialize swrast_texture_image structure fields.

2012-02-16 Thread Ian Romanick
On 02/16/2012 10:57 PM, Paul Berry wrote: Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast) moved the initialization of the Width, Height, and DepthScale fields to _swrast_alloc_texture_image_buffer(). However, i915 doesn't call this function because it perfo

[Mesa-dev] [PATCH] i915: Initialize swrast_texture_image structure fields.

2012-02-16 Thread Paul Berry
Commit 980f6f1 (mesa: move gl_texture_image::Width/Height/DepthScale fields to swrast) moved the initialization of the Width, Height, and DepthScale fields to _swrast_alloc_texture_image_buffer(). However, i915 doesn't call this function because it performs its own buffer allocation. As a result,