projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nv50/ir: properly set sType for TXF ops to U32
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
codegen
/
nv50_ir.cpp
diff --git
a/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
index 08181b790f4fa6e85745ddce1b4a894ae2060544..b96f9190731b7e77532a33a6468e83149982360b 100644
(file)
--- a/
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
+++ b/
src/gallium/drivers/nouveau/codegen/nv50_ir.cpp
@@
-906,6
+906,9
@@
TexInstruction::TexInstruction(Function *fn, operation op)
tex.rIndirectSrc = -1;
tex.sIndirectSrc = -1;
+
+ if (op == OP_TXF)
+ sType = TYPE_U32;
}
TexInstruction::~TexInstruction()