diff options
author | Dave Airlie <[email protected]> | 2015-04-08 10:00:27 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2015-04-14 08:04:41 +1000 |
commit | cc5860e40787b3afe36856674f028e830685271b (patch) | |
tree | 0424ae9decd5d372e46b963bb132c77964568c7b /include/c99_alloca.h | |
parent | 5ed79312ed99f3b141c35569b9767f82f5ba0a93 (diff) |
st/mesa: align cube map arrays layers
We create textures internally for texsubimage, and we use
the values from sub image to create a new texture, however
we don't align these to valid sizes, and cube map arrays
must have an array size aligned to 6.
This fixes texsubimage cube_map_array on CAYMAN at least,
(it was causing GPU hang and bad values), it probably
also fixes it on radeonsi and evergreen.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89957
Tested-by: Tom Stellard <[email protected]>
Cc: [email protected]
Reviewed-by: Marek Olšák <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'include/c99_alloca.h')
0 files changed, 0 insertions, 0 deletions