[Mesa-dev] st/mesa: support for 1D/2D texture arrays
brianp at vmware.com
Fri Jan 28 19:27:48 PST 2011
On 01/28/2011 08:08 AM, Brian Paul wrote:
> 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
OK, I finished the changes and pushed them. I haven't seen any
regressions with piglit, etc. but I may have missed something. I'll
be off line all weekend so feel free to revert if I've broken anything.
More information about the mesa-dev