diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp index b67a1ddbd59..1a6f647c6c6 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp @@ -905,6 +905,9 @@ TexInstruction::TexInstruction(Function *fn, operation op) tex.rIndirectSrc = -1; tex.sIndirectSrc = -1; + + if (op == OP_TXF) + sType = TYPE_U32; } TexInstruction::~TexInstruction()