Skip to content
Snippets Groups Projects
Commit a5630450 authored by Ilia Mirkin's avatar Ilia Mirkin Committed by Emil Velikov
Browse files

freedreno: fix slice pitch calculations


For example if width were 65, the first slice would get 96 while the
second would get 32. However the hardware appears to expect the second
pitch to be 64, based on halving the 96 (and aligning up to 32).

This fixes texelFetch piglit tests on a3xx below a certain size. Going
higher they break again, but most likely due to unrelated reasons.

Signed-off-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarRob Clark <robclark@freedesktop.org>
(cherry picked from commit 620e29b7)
parent b2e243f7
No related branches found
No related tags found
Loading
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