[Mesa-dev] st/mesa: support for 1D/2D texture arrays

Brian Paul brianp at vmware.com
Fri Jan 28 07:08:52 PST 2011

On 01/27/2011 01:57 PM, Christoph Bumiller wrote:
> This doesn't work, you use pipe_resource.depth0 for the array size but
> the gallium interface wants you to use pipe_resource.array_size.
> Do we fix the state tracker or the interface ?

Yeah, I messed up there.  I started fixing this last night but it's 
quite a bit of work, actually.  OpenGL stores the array size as the 
texture height or depth but gallium has a separate array_size field. 
There's a lot of places where we do comparisons like st_width == 
pipe_width that need to be fixed.  I got most of it worked out but I 
ran out of time yesterday.


More information about the mesa-dev mailing list