diff options
author | Brian Paul <[email protected]> | 2016-07-14 15:50:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-07-15 14:24:34 -0600 |
commit | 9a23a177b90ea60ba45b8b5090b832c87d595346 (patch) | |
tree | a0207872881931ca186401e0e0eea833acddeaab /src/mesa/main/eval.h | |
parent | 39183ea971a9fd3fc001b5a5a43df1c890525681 (diff) |
mesa: handle numLevels, numSamples in _mesa_test_proxy_teximage()
If numSamples > 0, we can compute the size of the whole mipmapped texture.
That's the case for glTexStorage(GL_PROXY_TEXTURE_x).
Also, multiply the texture size by numSamples for MSAA textures.
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/eval.h')
0 files changed, 0 insertions, 0 deletions