Commit 51ab4f93 authored by Alyssa Rosenzweig's avatar Alyssa Rosenzweig 💜

Cleanup

parent f9188bea
......@@ -1082,7 +1082,6 @@ emit_alu(compiler_context *ctx, nir_alu_instr *instr)
/* Late fixup for emulated instructions */
if (instr->op == nir_op_b2f32) {
/* Presently, our second argument is an inline #0 constant.
* Switch over to an embedded 1.0 constant (that can't fit
......
......@@ -1671,14 +1671,12 @@ panfrost_draw_vbo(
mode = PIPE_PRIM_TRIANGLE_FAN;
} else {
if (info->count < 4) {
/* WTF */
printf("WTF %d %d\n", info->count, info->mode);
/* Degenerate case? */
return;
}
printf("Fallback %d %d\n", info->count, info->mode);
util_primconvert_save_rasterizer_state(ctx->primconvert, &ctx->rasterizer->base);
util_primconvert_draw_vbo(ctx->primconvert, info);
printf(":+1\n");
return;
}
}
......
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