union {
GLuint d[VSF_MAX_FRAGMENT_LENGTH];
float f[VSF_MAX_FRAGMENT_LENGTH];
- VERTEX_SHADER_INSTRUCTION i[VSF_MAX_FRAGMENT_LENGTH / 4];
+ struct r300_vertprog_instruction i[VSF_MAX_FRAGMENT_LENGTH / 4];
} body;
};
struct prog_instruction *vpi)
{
int i, cur_reg = 0;
- VERTEX_SHADER_INSTRUCTION *o_inst;
+ struct r300_vertprog_instruction *o_inst;
unsigned long operands;
int are_srcs_scalar;
unsigned long hw_op;
#include "r300_reg.h"
-typedef struct {
+struct r300_vertprog_instruction {
GLuint op;
GLuint src[3];
-} VERTEX_SHADER_INSTRUCTION;
+};
#define VSF_FLAG_X 1
#define VSF_FLAG_Y 2