diff options
author | Eric Anholt <[email protected]> | 2011-11-15 16:26:29 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2011-11-22 13:58:38 -0800 |
commit | 1e42568bf304e9b3bae9fef8ad8febd25e1ac29f (patch) | |
tree | 3b72430b5a55706f805782eba1e2a901c28df566 /src/egl/main/eglmode.c | |
parent | f258c0dfa8ffbd67819bda45f2903ce8d5bb5130 (diff) |
i965: Add support for half-float formats.
Now that all the rest of the driver is driven off of the surface
formats table, all we really need to do is add the mapping from
MESA_FORMAT to BRW_SURFACEFORMAT. However, we also add format
override for I16/L16 render targets at the same time, so that existing
users of I16 that were getting promoted to I32 and then getting the
I32->R32 override still get FBO support.
Fixes failures in piglit gl-3.0-required-sized-texture-formats, and
will prevent regressions in ARB_texture_float on gen4 when moving to
fully table-driven texture format setup.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/egl/main/eglmode.c')
0 files changed, 0 insertions, 0 deletions