OSDN Git Service

nv50,nvc0: don't advertise unaligned texture format support
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 11 Jul 2011 09:31:18 +0000 (11:31 +0200)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Mon, 18 Jul 2011 11:45:52 +0000 (13:45 +0200)
commit9bfb79923fb57db611571a33eb33c12b10fdefeb
tree7b1bb517f64a3f968cda6ba0afce22314bf7ed51
parent7d8a04643f068fc88a1f1e119820c3c33cf6098e
nv50,nvc0: don't advertise unaligned texture format support

Because we don't support them.
For instance, R32G32B32 is not R32G32B32X32 as was assumed.

Add support for R8G8B8X8_UNORM instead of R8G8B8_UNORM surfaces.
src/gallium/drivers/nv50/nv50_formats.c
src/gallium/drivers/nvc0/nvc0_formats.c