[svn] BREAKC and IFC are output as BREAK and IF, respectively. trunk
authoricculus
Mon, 17 Mar 2008 00:10:18 -0400
branchtrunk
changeset 29 90c088e3496e
parent 28 bdb89e56bb91
child 30 5e908687dd50
[svn] BREAKC and IFC are output as BREAK and IF, respectively.
d3d2glsl.c
--- a/d3d2glsl.c	Mon Mar 17 00:05:56 2008 -0400
+++ b/d3d2glsl.c	Mon Mar 17 00:10:18 2008 -0400
@@ -873,14 +873,14 @@
 static void emit_D3D_BREAKC(Context *ctx)
 {
     char op[16];
-    snprintf(op, sizeof (op), "BREAKC%s", get_D3D_comparison_string(ctx));
+    snprintf(op, sizeof (op), "BREAK%s", get_D3D_comparison_string(ctx));
     emit_D3D_opcode_ss(ctx, op);
 } // emit_D3D_BREAKC
 
 static void emit_D3D_IFC(Context *ctx)
 {
     char op[16];
-    snprintf(op, sizeof (op), "IFC%s", get_D3D_comparison_string(ctx));
+    snprintf(op, sizeof (op), "IF%s", get_D3D_comparison_string(ctx));
     emit_D3D_opcode_ss(ctx, op);
 } // emit_D3D_IFC