r300/compiler: implement SFL for vertex shaders
authorMarek Olšák <maraeo@gmail.com>
Fri, 4 Jun 2010 21:10:11 +0000 (23:10 +0200)
committerMarek Olšák <maraeo@gmail.com>
Sat, 5 Jun 2010 05:03:14 +0000 (07:03 +0200)
And sort the "case" statements alphabetically.

src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c

index d07843c2c94ec7290b1c4bbd940fa872498313aa..0240fc0522b41db593b1750732a67d606657741b 100644 (file)
@@ -636,11 +636,12 @@ int r300_transform_vertex_alu(
        case RC_OPCODE_FLR: transform_FLR(c, inst); return 1;
        case RC_OPCODE_LIT: transform_r300_vertex_fix_LIT(c, inst); return 1;
        case RC_OPCODE_LRP: transform_LRP(c, inst); return 1;
+       case RC_OPCODE_SFL: transform_SFL(c, inst); return 1;
+       case RC_OPCODE_SGT: transform_r300_vertex_SGT(c, inst); return 1;
+       case RC_OPCODE_SLE: transform_r300_vertex_SLE(c, inst); return 1;
        case RC_OPCODE_SUB: transform_SUB(c, inst); return 1;
        case RC_OPCODE_SWZ: transform_SWZ(c, inst); return 1;
        case RC_OPCODE_XPD: transform_XPD(c, inst); return 1;
-       case RC_OPCODE_SLE: transform_r300_vertex_SLE(c, inst); return 1;
-       case RC_OPCODE_SGT: transform_r300_vertex_SGT(c, inst); return 1;
        default:
                return 0;
        }