mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-26 05:40:33 +01:00
nv50/ir: don't forget to mark flagsDef on cvt in txb lowering
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: "11.0 11.1" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 101e315cc1)
This commit is contained in:
parent
65f8299459
commit
fd2cf11ba8
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue