diff options
author | Marek Olšák <[email protected]> | 2011-04-26 02:28:33 +0200 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2011-04-29 11:31:55 +0200 |
commit | e62530a6c00da71c0f7bf1f4c425fe6c5b452df6 (patch) | |
tree | 8e6ba215cb7937df105ebf433495903ce2d408e1 /src/mesa/state_tracker/st_cb_drawpixels.c | |
parent | 631d23daa91c569bf268a2191bd466df73a64263 (diff) |
st/mesa: support EXT_packed_float
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawpixels.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index be0cd618dd5..31360fd3c11 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -376,6 +376,10 @@ internal_format(struct gl_context *ctx, GLenum format, GLenum type) case GL_UNSIGNED_INT_5_9_9_9_REV: assert(ctx->Extensions.EXT_texture_shared_exponent); return GL_RGB9_E5; + + case GL_UNSIGNED_INT_10F_11F_11F_REV: + assert(ctx->Extensions.EXT_packed_float); + return GL_R11F_G11F_B10F; } } } |