summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texstate.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2016-07-14 15:50:18 -0600
committerBrian Paul <[email protected]>2016-07-15 14:24:34 -0600
commit9a23a177b90ea60ba45b8b5090b832c87d595346 (patch)
treea0207872881931ca186401e0e0eea833acddeaab /src/mesa/main/texstate.h
parent39183ea971a9fd3fc001b5a5a43df1c890525681 (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/texstate.h')
0 files changed, 0 insertions, 0 deletions