Bug 34259

Summary: gallium: transfers should use z/depth and not y/height for 1d array textures as layer parameter
Product: Mesa Reporter: Roland Scheidegger <sroland>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Roland Scheidegger 2011-02-14 07:41:53 UTC
Currently, gallium is using gl-style y/height for the layer parameter for 1d array textures in pipe transfers (that is, it is using the next "unused" parameter, which is y for 1d array, and z for 2d array textures).
This was never meant to be that way but not properly documented. It should always use z/depth for layer parameter, regardless if it's a 1d or 2d array texture.
Conceptually, it is a different parameter, which is just basically merged with z/depth since 3d arrays don't exist.
Comment 1 Timothy Arceri 2018-05-11 04:47:53 UTC
Hi Roland, is this bug still relevant or can it be closed?
Comment 2 Roland Scheidegger 2018-05-11 12:10:18 UTC
I am quite sure this was fixed ages ago (I think when mesa core stopped using height for slice when mapping etc. 1d arrays).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.