nv50: make TEX a halfie
authorBen Skeggs <skeggsb@gmail.com>
Mon, 16 Jun 2008 15:36:36 +0000 (01:36 +1000)
committerBen Skeggs <skeggsb@gmail.com>
Sun, 29 Jun 2008 05:46:19 +0000 (15:46 +1000)
src/gallium/drivers/nv50/nv50_program.c

index 7bb2f454bb994bbd49a705d895c836c4191805e4..5ef0954239768a88d9e280213ee3c08468cdc41e 100644 (file)
@@ -1145,9 +1145,7 @@ nv50_program_tx_insn(struct nv50_pc *pc, const union tgsi_full_token *tok)
                        emit_mov(pc, t1, src[0][1]);
 
                        e = exec(pc);
-                       e->inst[0] = 0xf0400000;
-                       set_long(pc, e);
-                       e->inst[1] |= 0x0000c004;
+                       e->inst[0] = 0xf0400100;
                        set_dst(pc, t0, e);
                        emit(pc, e);
                        free_temp(pc, t0);