projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
nvc0/ir: emit FMZ flag when requested on FFMA
[mesa.git]
/
src
/
gallium
/
drivers
/
nouveau
/
codegen
/
nv50_ir_emit_nvc0.cpp
diff --git
a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
index ef0693987cd43886c04f4d4d3023c4bcf0ea1eaa..a58335dd8f337b5eb855818d421433c9696c0ca2 100644
(file)
--- a/
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
+++ b/
src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp
@@
-537,6
+537,10
@@
CodeEmitterNVC0::emitFMAD(const Instruction *i)
if (i->saturate)
code[0] |= 1 << 5;
+
+ if (i->dnz)
+ code[0] |= 1 << 7;
+ else
if (i->ftz)
code[0] |= 1 << 6;
} else {