i965: Render R16G16B16X16 as R16G16B16A16
authorAnuj Phogat <anuj.phogat@gmail.com>
Fri, 10 Apr 2015 11:35:24 +0000 (04:35 -0700)
committerAnuj Phogat <anuj.phogat@gmail.com>
Fri, 17 Apr 2015 18:48:38 +0000 (11:48 -0700)
commit79010c9a531f45d2b6740ac26f4b04c169f5dc7a
treef97c44d6f2ee2e145e0ca8ba5127a8c630eddc08
parentc6b0922c31983c76f1b2b9df66ae50b25b966bee
i965: Render R16G16B16X16 as R16G16B16A16

This enables using _mesa_meta_pbo_TexSubImage() to upload data
to R16G16B16X16 texture. Earlier it fell back to slower paths.

Jenkins run shows no piglit regressions.

Signed-off-by: Anuj Phogat <anuj.phogat@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_surface_formats.c