diff options
author | Ilia Mirkin <[email protected]> | 2015-12-18 12:25:53 +0000 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2015-12-18 12:26:19 +0000 |
commit | fd2cf11ba8bdd3f1383ce11dcf4fe432e34856bd (patch) | |
tree | 2df56eabc5837b09a4283e6813fa4ef824393c2a /src/gallium/drivers | |
parent | 65f8299459631cb0bb0495d8d220aae4cc691875 (diff) |
nv50/ir: don't forget to mark flagsDef on cvt in txb lowering
Signed-off-by: Ilia Mirkin <[email protected]>
Cc: "11.0 11.1" <[email protected]>
(cherry picked from commit 101e315cc167b0b00319aa70f64c49470e2525f8)
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp index d87cdfff851..6374a24c5d5 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_lowering_nv50.cpp @@ -831,7 +831,7 @@ NV50LoweringPreSSA::handleTXB(TexInstruction *i) } Value *flags = bld.getScratch(1, FILE_FLAGS); bld.setPosition(cond, true); - bld.mkCvt(OP_CVT, TYPE_U8, flags, TYPE_U32, cond->getDef(0)); + bld.mkCvt(OP_CVT, TYPE_U8, flags, TYPE_U32, cond->getDef(0))->flagsDef = 0; Instruction *tex[4]; for (l = 0; l < 4; ++l) { |