OSDN Git Service

i965: support 2_10_10_10 formats in get_surface_type.
authorChris Forbes <chrisf@ijw.co.nz>
Thu, 22 Nov 2012 03:23:20 +0000 (16:23 +1300)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 27 Nov 2012 00:34:23 +0000 (16:34 -0800)
commit23f4411c41f96a1b755259c4a6b23747e95a5ece
treed96af0b74a62afd3d71504be0dd0900307c859e6
parentf9a08f7f0f9f65546db4c7388e445fa39f0842c6
i965: support 2_10_10_10 formats in get_surface_type.

Always use R10G10B10A2_UINT; Most of the other formats we'd like
don't actually work on the hardware. Will emit w/a for scaling,
sign recovery and BGRA swizzle in the VS.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_draw_upload.c