mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +02: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
ea21336d15
commit
26dff8a7bb
1 changed files with 1 additions and 1 deletions
|
|
@ -832,7 +832,7 @@ NV50LoweringPreSSA::handleTXB(TexInstruction *i)
|
||||||
}
|
}
|
||||||
Value *flags = bld.getScratch(1, FILE_FLAGS);
|
Value *flags = bld.getScratch(1, FILE_FLAGS);
|
||||||
bld.setPosition(cond, true);
|
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];
|
Instruction *tex[4];
|
||||||
for (l = 0; l < 4; ++l) {
|
for (l = 0; l < 4; ++l) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue