瀏覽代碼

gallivm: fix storing of the addr register

we store into the index specified by the register index, not an
indirect register.
tags/android-x86-2.2
Zack Rusin 15 年之前
父節點
當前提交
5572805423
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c

+ 1
- 1
src/gallium/auxiliary/gallivm/lp_bld_tgsi_soa.c 查看文件

@@ -984,7 +984,7 @@ emit_store(

case TGSI_FILE_ADDRESS:
lp_exec_mask_store(&bld->exec_mask, pred, value,
bld->addr[reg->Indirect.Index][chan_index]);
bld->addr[reg->Register.Index][chan_index]);
break;

case TGSI_FILE_PREDICATE:

Loading…
取消
儲存