aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv10
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-05-25 14:25:15 +1000
committerBen Skeggs <[email protected]>2008-05-25 14:25:15 +1000
commitf5599a7a3c4a6335ce79fdbd82e18f08bb0ac8e7 (patch)
treee16ee783ad95c74973514b97930c1b258da07c2c /src/gallium/drivers/nv10
parent92120851947ad4a47d2150a7cf3f8dc5fdde396c (diff)
nouveau: remove final PIPE_FORMAT_U_* usage
Diffstat (limited to 'src/gallium/drivers/nv10')
-rw-r--r--src/gallium/drivers/nv10/nv10_fragtex.c6
-rw-r--r--src/gallium/drivers/nv10/nv10_screen.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/drivers/nv10/nv10_fragtex.c b/src/gallium/drivers/nv10/nv10_fragtex.c
index 67e0b4bd45d..238634d0bb4 100644
--- a/src/gallium/drivers/nv10/nv10_fragtex.c
+++ b/src/gallium/drivers/nv10/nv10_fragtex.c
@@ -44,9 +44,9 @@ nv10_texture_formats[] = {
_(A8R8G8B8_UNORM, A8R8G8B8),
_(A1R5G5B5_UNORM, A1R5G5B5),
_(A4R4G4B4_UNORM, A4R4G4B4),
- _(U_L8 , L8 ),
- _(U_A8 , A8 ),
- _(U_A8_L8 , A8L8 ),
+ _(L8_UNORM , L8 ),
+ _(A8_UNORM , A8 ),
+ _(A8L8_UNORM , A8L8 ),
// _(RGB_DXT1 , DXT1, ),
// _(RGBA_DXT1 , DXT1, ),
// _(RGBA_DXT3 , DXT3, ),
diff --git a/src/gallium/drivers/nv10/nv10_screen.c b/src/gallium/drivers/nv10/nv10_screen.c
index fad96058b8e..5fe3a030811 100644
--- a/src/gallium/drivers/nv10/nv10_screen.c
+++ b/src/gallium/drivers/nv10/nv10_screen.c
@@ -102,9 +102,9 @@ nv10_screen_is_format_supported(struct pipe_screen *screen,
case PIPE_FORMAT_A1R5G5B5_UNORM:
case PIPE_FORMAT_A4R4G4B4_UNORM:
case PIPE_FORMAT_R5G6B5_UNORM:
- case PIPE_FORMAT_U_L8:
- case PIPE_FORMAT_U_A8:
- case PIPE_FORMAT_U_I8:
+ case PIPE_FORMAT_L8_UNORM:
+ case PIPE_FORMAT_A8_UNORM:
+ case PIPE_FORMAT_I8_UNORM:
return TRUE;
default:
break;