summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2014-07-31 14:07:50 +0100
committerNeil Roberts <[email protected]>2014-08-12 18:23:50 +0100
commita018a3f3f5542534fd3b274673ef2c2e9c2c2c05 (patch)
tree498a56114768f834358a1ebab5d71770c25d89cf /docs
parent817051ab5b71b2c00e20f1b92ccf69c71e7ab70e (diff)
mesa/meta: Support decompressing floating-point formats
Previously the Meta implementation of glGetTexImage would fall back to _mesa_get_teximage if the texturing is not using an unsigned normalised format. However in order to support the half-float formats of BPTC textures we can make it render to a floating-point renderbuffer instead. This patch makes decompression_state have two FBOs, one for the GL_RGBA format and one for GL_RGBA32F. If a floating-point texture is encountered it will try setting up a floating-point FBO. It will now also check the status of the FBO and fall back to _mesa_get_teximage if the FBO is not complete. Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions