diff options
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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 ef0693987cd..a58335dd8f3 100644 --- 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 { |