}
void r300TranslateFragmentShader(r300ContextPtr r300,
- struct r300_fragment_program *rp)
+ struct r300_fragment_program *rp)
{
struct r300_pfs_compile_state *cs = NULL;
struct r300_fragment_program;
extern void r300TranslateFragmentShader(r300ContextPtr r300,
- struct r300_fragment_program *rp);
+ struct r300_fragment_program *rp);
#endif
/* helper function */
static void r300SetBlendCntl(r300ContextPtr r300, int func, int eqn,
- int cbits, int funcA, int eqnA)
+ int cbits, int funcA, int eqnA)
{
GLuint new_ablend, new_cblend;
}
r300SetBlendCntl(r300,
- func, eqn,
- R300_BLEND_UNKNOWN | R300_BLEND_ENABLE, funcA,
- eqnA);
+ func, eqn,
+ R300_BLEND_UNKNOWN | R300_BLEND_ENABLE, funcA, eqnA);
}
static void r300BlendEquationSeparate(GLcontext * ctx,
extern void r300UpdateShaderStates(r300ContextPtr rmesa);
extern void r300PrintStateAtom(r300ContextPtr r300,
- struct r300_state_atom *state);
+ struct r300_state_atom *state);
#endif /* __R300_STATE_H__ */
} while (0)
static void r300TranslateVertexShader(struct r300_vertex_program *vp,
- struct prog_instruction *vpi)
+ struct prog_instruction *vpi)
{
int i, cur_reg = 0;
VERTEX_SHADER_INSTRUCTION *o_inst;