summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/tgsi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/pipe/tgsi')
-rw-r--r--src/mesa/pipe/tgsi/exec/tgsi_exec.c40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index d98f46cc0d..c503bce196 100644
--- a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@ -1535,21 +1535,21 @@ exec_instruction(
assert (0);
break;
- case TGSI_OPCODE_LOG:
- assert (0);
- break;
+ case TGSI_OPCODE_LOG:
+ assert (0);
+ break;
- case TGSI_OPCODE_MUL:
- FOR_EACH_ENABLED_CHANNEL( *inst, chan_index )
- {
- FETCH(&r[0], 0, chan_index);
- FETCH(&r[1], 1, chan_index);
+ case TGSI_OPCODE_MUL:
+ FOR_EACH_ENABLED_CHANNEL( *inst, chan_index )
+ {
+ FETCH(&r[0], 0, chan_index);
+ FETCH(&r[1], 1, chan_index);
- micro_mul( &r[0], &r[0], &r[1] );
+ micro_mul( &r[0], &r[0], &r[1] );
- STORE(&r[0], 0, chan_index);
- }
- break;
+ STORE(&r[0], 0, chan_index);
+ }
+ break;
case TGSI_OPCODE_ADD:
FOR_EACH_ENABLED_CHANNEL( *inst, chan_index ) {
@@ -1688,16 +1688,16 @@ exec_instruction(
}
break;
- case TGSI_OPCODE_SUB:
- FOR_EACH_ENABLED_CHANNEL( *inst, chan_index ) {
- FETCH(&r[0], 0, chan_index);
- FETCH(&r[1], 1, chan_index);
+ case TGSI_OPCODE_SUB:
+ FOR_EACH_ENABLED_CHANNEL( *inst, chan_index ) {
+ FETCH(&r[0], 0, chan_index);
+ FETCH(&r[1], 1, chan_index);
- micro_sub( &r[0], &r[0], &r[1] );
+ micro_sub( &r[0], &r[0], &r[1] );
- STORE(&r[0], 0, chan_index);
- }
- break;
+ STORE(&r[0], 0, chan_index);
+ }
+ break;
case TGSI_OPCODE_LERP:
/* TGSI_OPCODE_LRP */