Commit 2fbe3314 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

midgard: Second half of the fbwrite

Signed-off-by: Alyssa Rosenzweig's avatarAlyssa Rosenzweig <alyssa@rosenzweig.io>
parent 3dfd2743
......@@ -471,6 +471,12 @@ emit_intrinsic(compiler_context *ctx, nir_intrinsic_instr *instr)
EMIT(fmov, reg, blank_alu_src, 0);
EMIT(alu_br_compact, 0xF00F);
/* Errata workaround -- the above write
* can sometimes fail -.- */
EMIT(fmov, 0, blank_alu_src, 0);
EMIT(alu_br_compact, 0xF00F);
break;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment