Skip to content
Commit c866dc7c authored by Michel Dänzer's avatar Michel Dänzer Committed by Michel Dänzer
Browse files

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: default avatarMarek Olšák <marek.olsak@amd.com>
parent 7068d987
Loading
Loading
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