Displaying 1 result from an estimated 1 matches for "nv10tcl_tx_format_format_shift".
2010 Apr 20
0
[PATCH] nv10/exa : demagify tex and rt format
..._FORMAT. Only A8_RECT differs between nv10 and nv20, but with the
+ * great side-effect to cause a DATA error when that is enabled */
 }, nv20_tex_format_rect[] = {
-	{ PICT_a8,	 0xd80 },
-	{ PICT_r5g6b5,   0x880 },
-	{ PICT_x8r8g8b8, 0x900 },
-	{ PICT_a8r8g8b8, 0x900 },
+	{ PICT_a8,	 0x1b << NV10TCL_TX_FORMAT_FORMAT_SHIFT },
+	{ PICT_r5g6b5,   NV10TCL_TX_FORMAT_FORMAT_R5G6B5_RECT },
+	{ PICT_x8r8g8b8, NV10TCL_TX_FORMAT_FORMAT_A8R8G8B8_RECT },
+	{ PICT_a8r8g8b8, NV10TCL_TX_FORMAT_FORMAT_A8R8G8B8_RECT },
 	{},
 
 }, nv10_rt_format[] = {
-	{ PICT_r5g6b5,	 0x103 },
-	{ PICT_x8r8g8b8, 0x108 },
-	{ PICT_a8r8g8b8, 0x108 },...