i965: Use native RGB_FLOAT16 support when available. 21/6621/1
authorEric Anholt <eric@anholt.net>
Wed, 17 Apr 2013 00:21:22 +0000 (17:21 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 15 May 2013 16:43:46 +0000 (09:43 -0700)
commit9db9bc3aa19983f1bd0f1c0f3fe9c6317484892d
tree2d31345ea73dc30f2d326999f95522e98b256fee
parent645b610b6228a00bdcef0748fdb5fcbd2f1fadb8
i965: Use native RGB_FLOAT16 support when available.

Previously we would expand it to RGBA_FLOAT16.  This format now comes out
as framebuffer incomplete, but it seems worth the memory savings if that's
what people are asking for (and GL3 does list it under "texture-only"
color formats)

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c