i965: Render R8G8B8X8 as R8G8B8A8
authorChris Forbes <chrisf@ijw.co.nz>
Sat, 29 Mar 2014 05:27:42 +0000 (18:27 +1300)
committerChris Forbes <chrisf@ijw.co.nz>
Thu, 10 Apr 2014 06:27:40 +0000 (18:27 +1200)
commit58790043bb9e222f54994eba6ec78429d0d23625
tree0a64dd4f77bc632a07dca920610a7c3dbceeeffd
parent50eed4eed5d81cdf190d257506d36c5c23d4ce3b
i965: Render R8G8B8X8 as R8G8B8A8

The sampler can handle R8G8B8X8 (and substitute 1.0 for the fourth
component) but we can't use it as a render target.

Signed-off-by: Chris Forbes <chrisf@ijw.co.nz>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_surface_formats.c