Skip to content
Snippets Groups Projects
Commit 2484331e authored by Karol Herbst's avatar Karol Herbst :crab: Committed by Marge Bot
Browse files

rusticl/image: take pitches into account when allocating memory for maps

This is more correct than the previous code and the CL CTS relies on edge
case behavior here, e.g. for 1Dbuffer images.

I think part of that is not actually required by the spec, but whatever.

Fixes: 7b22bc61 ("rusticl/memory: complete rework on how mapping is implemented")
Part-of: <mesa/mesa!30528>
parent 1fa288b2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment