t=&default_tex_obj;
}
//fprintf(stderr, "t->format=%08x\n", t->format);
+ if((t->format & 0xffffff00)==0xffffff00){
+ WARN_ONCE("unknown texture format encountered. Help me !\n");
+ //fprintf(stderr, "t->format=%08x\n", t->format);
+ }
if (RADEON_DEBUG & DEBUG_STATE)
fprintf(stderr, "Activating texture unit %d\n", i);
max_texture_unit=i;
GLuint format, filter;
} tx_table[] = {
{R300_EASY_TX_FORMAT(Y, Z, W, X, W8Z8Y8X8), 0},
- {1, 0},
- {2, 0},
- {3, 0},
- {4, 0},
- {5, 0},
- {6, 0},
- {7, 0},
- {8, 0},
- {9, 0},
- {10, 0},
- {11, 0},
- {12, 0},
- {13, 0},
- {14, 0},
- {15, 0},
- {16, 0},
- {17, 0},
+ {0xffffff01, 0},
+ {0xffffff02, 0},
+ {0xffffff03, 0},
+ {0xffffff04, 0},
+ {0xffffff05, 0},
+ {0xffffff06, 0},
+ {0xffffff07, 0},
+ {0xffffff08, 0},
+ {0xffffff09, 0},
+ {0xffffff10, 0},
+ {0xffffff11, 0},
+ {0xffffff12, 0},
+ {0xffffff13, 0},
+ {0xffffff14, 0},
+ {0xffffff15, 0},
+ {0xffffff16, 0},
+ {0xffffff17, 0},
};