diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2014-09-26 18:19:12 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2014-09-29 16:50:06 +0900 |
commit | c866dc7c00e7f5f219901a9a81bf456a24d29cd1 (patch) | |
tree | e14a994f6f19684f4ed82ae7974fc76fa02c31a2 /xf86drmRandom.c | |
parent | 7068d987f4dc1260a948f2b4782c66d3d80e9978 (diff) | |
download | libdrm-c866dc7c00e7f5f219901a9a81bf456a24d29cd1.tar.gz libdrm-c866dc7c00e7f5f219901a9a81bf456a24d29cd1.tar.bz2 libdrm-c866dc7c00e7f5f219901a9a81bf456a24d29cd1.zip |
radeon: Always multiply pitch_bytes by nsamples, not by slice_pt
slice_pt is tileb[0] / tile_split, which isn't directly related to the
pitch.
This caused pitch_bytes to be too large in some cases.
[0] Tile size in bytes
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Diffstat (limited to 'xf86drmRandom.c')
0 files changed, 0 insertions, 0 deletions