diff options
author | Zou Nan hai <nanhai.zou@intel.com> | 2007-12-29 15:28:51 +0800 |
---|---|---|
committer | Zou Nan hai <nanhai.zou@intel.com> | 2007-12-29 15:28:51 +0800 |
commit | d0ebdca4fa70506107a318e6cfd03f0fb4297897 (patch) | |
tree | ac04c07e8972abcc1f02cd4aac99d10ebd469aa3 /src/mesa/drivers/dri/i965/brw_vs_emit.c | |
parent | 3956597962dcf6c8082541199ebac58e0d84f6bc (diff) |
fix fd.o bug #13847
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vs_emit.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vs_emit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vs_emit.c b/src/mesa/drivers/dri/i965/brw_vs_emit.c index e62de186ae..7322123fb4 100644 --- a/src/mesa/drivers/dri/i965/brw_vs_emit.c +++ b/src/mesa/drivers/dri/i965/brw_vs_emit.c @@ -1137,7 +1137,7 @@ void brw_vs_emit(struct brw_vs_compile *c ) break; case OPCODE_CAL: brw_set_access_mode(p, BRW_ALIGN_1); - brw_ADD(p, deref_1uw(stack_index, 0), brw_ip_reg(), brw_imm_d(3*16)); + brw_ADD(p, deref_1d(stack_index, 0), brw_ip_reg(), brw_imm_d(3*16)); brw_set_access_mode(p, BRW_ALIGN_16); brw_ADD(p, get_addr_reg(stack_index), get_addr_reg(stack_index), brw_imm_d(4)); @@ -1148,7 +1148,7 @@ void brw_vs_emit(struct brw_vs_compile *c ) brw_ADD(p, get_addr_reg(stack_index), get_addr_reg(stack_index), brw_imm_d(-4)); brw_set_access_mode(p, BRW_ALIGN_1); - brw_MOV(p, brw_ip_reg(), deref_1uw(stack_index, 0)); + brw_MOV(p, brw_ip_reg(), deref_1d(stack_index, 0)); brw_set_access_mode(p, BRW_ALIGN_16); case OPCODE_END: brw_ADD(p, brw_ip_reg(), brw_ip_reg(), brw_imm_d(1*16)); |