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: RESOLVED FIXED
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: 2018-05-11 12:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

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.