diff options
author | Eric Anholt <[email protected]> | 2019-05-01 14:00:33 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2019-05-13 12:03:05 -0700 |
commit | f33cb272f0890f115c36fb96173123bc699b7b2c (patch) | |
tree | 853d429e345213757c8427388e2ab870a5ea227a /src/mapi/entry_x86_tls.h | |
parent | ce6dbc0417586cc1ceb015b631384ffdfb22e981 (diff) |
mesa: Replace MaxTextureLevels with MaxTextureSize.
In most places (glGetInteger, max_legal_texture_dimensions), we wanted the
number of pixels, not the number of levels. Number of levels is easily
recovered with util_next_power_of_two() and ffs(). More importantly, for
V3D we want to be able to expose a non-power-of-two maximum texture size
to cover 2x4k displays on HW that can't quite do 8192 wide.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mapi/entry_x86_tls.h')
0 files changed, 0 insertions, 0 deletions