Bug 34259 - gallium: transfers should use z/depth and not y/height for 1d array textures as layer parameter
Summary: gallium: transfers should use z/depth and not y/height for 1d array textures ...
Status: NEW
Alias: None
Product: Mesa
Classification: Unclassified
Component: Mesa core (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: mesa-dev
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-14 07:41 UTC by Roland Scheidegger
Modified: 2011-02-14 07:43 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct.