Przeglądaj źródła

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 lat temu
rodzic
commit
7f937875c0

+ 3
- 0
src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nvc0.cpp Wyświetl plik

@@ -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 ||

Ładowanie…
Anuluj
Zapisz