| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
#ifndef RADEON_SWIZZLE_H |
| 7 |
#define RADEON_SWIZZLE_H |
| 8 |
|
| 9 |
#include "radeon_program.h" |
| 10 |
|
| 11 |
struct rc_swizzle_split { |
| 12 |
unsigned char NumPhases; |
| 13 |
unsigned char Phase[4]; |
| 14 |
}; |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
struct rc_swizzle_caps { |
| 20 |
|
| 21 |
|
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
int (*IsNative)(rc_opcode opcode, struct rc_src_register reg); |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
void (*Split)(struct rc_src_register reg, unsigned int mask, struct rc_swizzle_split *split); |
| 33 |
}; |
| 34 |
|
| 35 |
extern const struct rc_swizzle_caps r300_vertprog_swizzle_caps; |
| 36 |
|
| 37 |
#endif |