1.1 --- a/src/pvr2/scene.c Sun Mar 04 21:28:48 2012 +1000
1.2 +++ b/src/pvr2/scene.c Wed Feb 04 08:38:23 2015 +1000
1.4 rgba[3] = ((float)(((bgra&0xFF000000)>>24) + 1)) / 256.0;
1.7 -static inline uint32_t bgra_to_rgba(uint32_t bgra)
1.9 - return (bgra&0xFF00FF00) | ((bgra&0x00FF0000)>>16) | ((bgra&0x000000FF)<<16);
1.13 * Convert a half-float (16-bit) FP number to a regular 32-bit float.
1.14 * Source is 1-bit sign, 5-bit exponent, 10-bit mantissa.
1.17 static void scene_add_cheap_shadow_vertexes( struct vertex_struct *src, struct vertex_struct *dest, int count )
1.19 - unsigned int i, j;
1.22 for( i=0; i<count; i++ ) {