Displaying 1 result from an estimated 1 matches for "nv10tcl_tx_format_format_r5g6b5".
2010 Apr 20
0
[PATCH] nv10/exa : demagify tex and rt format
...c
+++ b/src/nv10_exa.c
@@ -34,30 +34,33 @@ static struct pict_format {
 	int exa;
 	int hw;
 } nv10_tex_format_pot[] = {
-	{ PICT_a8,       0x80  },
-	{ PICT_r5g6b5,	 0x280 },
-	{ PICT_x8r8g8b8, 0x300 },
-	{ PICT_a8r8g8b8, 0x300 },
+	{ PICT_a8,       NV10TCL_TX_FORMAT_FORMAT_A8 },
+	{ PICT_r5g6b5,	 NV10TCL_TX_FORMAT_FORMAT_R5G6B5 },
+	{ PICT_x8r8g8b8, NV10TCL_TX_FORMAT_FORMAT_A8R8G8B8 },
+	{ PICT_a8r8g8b8, NV10TCL_TX_FORMAT_FORMAT_A8R8G8B8 },
 	{},
 
 }, nv10_tex_format_rect[] = {
-	{ PICT_a8,       0x980 },
-	{ PICT_r5g6b5,   0x880 },
-	{ PICT_x8r8g8b8, 0x900 },
-	{ PICT_a8r8g8b8, 0x900 },
+	{ PICT_a8,       NV10TCL_TX_FOR...