diff options
author | Ilia Mirkin <imirkin@alum.mit.edu> | 2015-03-13 01:36:57 -0400 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2015-03-25 21:32:01 +0000 |
commit | 411f975a8129f4eb91a28a52d524059fdb174515 (patch) | |
tree | abf2e288fa9fe00e89c1455c049891186d01951e /src/gallium/drivers/freedreno/adreno_common.xml.h | |
parent | 3fa76f3f79962c608f2adbdad2bd942006683690 (diff) |
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: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "10.4 10.5" <mesa-stable@lists.freedesktop.org>
Reviewed-by: Rob Clark <robclark@freedesktop.org>
(cherry picked from commit 620e29b74821fd75b24495ab2bfddea53fc75350)
Diffstat (limited to 'src/gallium/drivers/freedreno/adreno_common.xml.h')
0 files changed, 0 insertions, 0 deletions