diff options
author | Lionel Landwerlin <[email protected]> | 2016-08-20 00:38:05 +0100 |
---|---|---|
committer | Lionel Landwerlin <[email protected]> | 2016-09-01 11:36:09 +0100 |
commit | 2dc6930a5a54c0f586ba09437123c380f3eae456 (patch) | |
tree | 354f21d4de4642f9118212206f1000d9a6ad076f /src/glx | |
parent | fc6be400115c0caa4e5cbb810917d6b8a11596a4 (diff) |
isl: round format alignment to nearest power of 2
A few inline asserts in anv assume alignments are power of 2, but with
formats like R8G8B8 we have odd alignments.
v2: round up to power of 2 (Ilia)
v3: reuse util_next_power_of_two() from gallium/aux/util/u_math.h (Ilia)
Signed-off-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/glx')
0 files changed, 0 insertions, 0 deletions