浏览代码

nvc0/ir: account for indirect textures on fermi for txd

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
tags/10.3-branchpoint
Ilia Mirkin 11 年前
父节点
当前提交
7f937875c0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp

+ 3
- 0
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp 查看文件

@@ -787,6 +787,9 @@ NVC0LoweringPass::handleTXD(TexInstruction *txd)
} else {
if (txd->tex.useOffsets)
expected_args++;
if (!txd->tex.target.isArray() && (
txd->tex.rIndirectSrc >= 0 || txd->tex.sIndirectSrc >= 0))
expected_args++;
}

if (expected_args > 4 ||

正在加载...
取消
保存