mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 16:40:17 +01:00
vc4: Move bin command list ending commands to vc4_flush()
This commit is contained in:
parent
5e062cb2b4
commit
fbaac8407a
2 changed files with 4 additions and 4 deletions
|
|
@ -92,6 +92,10 @@ vc4_flush(struct pipe_context *pctx)
|
|||
if (!vc4->needs_flush)
|
||||
return;
|
||||
|
||||
cl_u8(&vc4->bcl, VC4_PACKET_FLUSH_ALL);
|
||||
cl_u8(&vc4->bcl, VC4_PACKET_NOP);
|
||||
cl_u8(&vc4->bcl, VC4_PACKET_HALT);
|
||||
|
||||
struct vc4_surface *csurf = vc4_surface(vc4->framebuffer.cbufs[0]);
|
||||
struct vc4_resource *ctex = vc4_resource(csurf->base.texture);
|
||||
struct drm_vc4_submit_cl submit;
|
||||
|
|
|
|||
|
|
@ -156,10 +156,6 @@ vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
|
|||
cl_u32(&vc4->bcl, info->start);
|
||||
}
|
||||
|
||||
cl_u8(&vc4->bcl, VC4_PACKET_FLUSH_ALL);
|
||||
cl_u8(&vc4->bcl, VC4_PACKET_NOP);
|
||||
cl_u8(&vc4->bcl, VC4_PACKET_HALT);
|
||||
|
||||
// Shader Record
|
||||
|
||||
vc4_write_uniforms(vc4, vc4->prog.fs,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue