Skip to content

Commit

Permalink
Whitespace fix in the output.
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 3, 2008
1 parent 003ecad commit 85c980d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mojoshader.c
Expand Up @@ -1755,9 +1755,9 @@ static void emit_GLSL_M3X4(Context *ctx)
const char *row3 = make_GLSL_sourcearg_string(ctx, 4);

const char *code = make_GLSL_destarg_assign(ctx, 0,
"vec4(dot(vec3(%s), vec3(%s)),"
"dot(vec3(%s), vec3(%s)),"
"dot(vec3(%s), vec3(%s)),"
"vec4(dot(vec3(%s), vec3(%s)), "
"dot(vec3(%s), vec3(%s)), "
"dot(vec3(%s), vec3(%s)), "
"dot(vec3(%s), vec3(%s)))",
src0, row0, src0, row1,
src0, row2, src0, row3);
Expand All @@ -1772,8 +1772,8 @@ static void emit_GLSL_M3X3(Context *ctx)
const char *row1 = make_GLSL_sourcearg_string(ctx, 2);
const char *row2 = make_GLSL_sourcearg_string(ctx, 3);
const char *code = make_GLSL_destarg_assign(ctx, 0,
"vec3(dot(vec3(%s), vec3(%s)),"
"dot(vec3(%s), vec3(%s)),"
"vec3(dot(vec3(%s), vec3(%s)), "
"dot(vec3(%s), vec3(%s)), "
"dot(vec3(%s), vec3(%s)))",
src0, row0, src0, row1, src0, row2);
output_line(ctx, "%s", code);
Expand All @@ -1787,7 +1787,7 @@ static void emit_GLSL_M3X2(Context *ctx)
const char *row1 = make_GLSL_sourcearg_string(ctx, 2);

const char *code = make_GLSL_destarg_assign(ctx, 0,
"vec3(dot(vec3(%s), vec3(%s)),"
"vec3(dot(vec3(%s), vec3(%s)), "
"dot(vec3(%s), vec3(%s)))",
src0, row0, src0, row1);
output_line(ctx, "%s", code);
Expand Down

0 comments on commit 85c980d

Please sign in to comment.