diff options
author | Marek Olšák <maraeo@gmail.com> | 2010-06-04 23:10:11 +0200 |
---|---|---|
committer | Marek Olšák <maraeo@gmail.com> | 2010-06-05 07:03:14 +0200 |
commit | e629de94b53f49826626447a2e81cd9b01360a75 (patch) | |
tree | e994ff345a9c5c36b2c80df7e1804621158c953a | |
parent | 89cb314f265f4116e1e68d8a224da0e5b92fadb1 (diff) |
r300/compiler: implement SFL for vertex shaders
And sort the "case" statements alphabetically.
-rw-r--r-- | src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c b/src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c index d07843c2c9..0240fc0522 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_program_alu.c @@ -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; } |