diff options
author | Ilia Mirkin <[email protected]> | 2017-01-15 12:15:06 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2017-01-15 13:13:58 -0500 |
commit | dd39e487261990a7e7ac699d004e64dda48f08d8 (patch) | |
tree | 96f997c64ba2f15cb4dd902b155e132b9cd6ed44 /src/gallium | |
parent | c9b74f3f0306a3305ad62644a7c7ef1e4a3f19f1 (diff) |
nvc0/ir: emit FMZ flag when requested on FFMA
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium')
-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 { |