r300: Fixed indenting from previous commit

d28f6d9176.
This commit is contained in:
Oliver McFadden
2007-05-09 15:28:38 +00:00
parent 4f20fe8a93
commit c48e4c6f09
5 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -2210,7 +2210,7 @@ static void update_params(struct r300_fragment_program *rp)
}
void r300TranslateFragmentShader(r300ContextPtr r300,
struct r300_fragment_program *rp)
struct r300_fragment_program *rp)
{
struct r300_pfs_compile_state *cs = NULL;
+1 -1
View File
@@ -99,6 +99,6 @@ typedef struct r300_fragment_program_swizzle {
struct r300_fragment_program;
extern void r300TranslateFragmentShader(r300ContextPtr r300,
struct r300_fragment_program *rp);
struct r300_fragment_program *rp);
#endif
+3 -4
View File
@@ -167,7 +167,7 @@ static int blend_factor(GLenum factor, GLboolean is_src)
/* 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;
@@ -292,9 +292,8 @@ static void r300SetBlendState(GLcontext * ctx)
}
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,
+1 -1
View File
@@ -73,6 +73,6 @@ extern void r300UpdateShaders(r300ContextPtr rmesa);
extern void r300UpdateShaderStates(r300ContextPtr rmesa);
extern void r300PrintStateAtom(r300ContextPtr r300,
struct r300_state_atom *state);
struct r300_state_atom *state);
#endif /* __R300_STATE_H__ */
+1 -1
View File
@@ -411,7 +411,7 @@ static GLboolean valid_dst(struct r300_vertex_program *vp,
} 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;