mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 06:40:11 +01:00
vc4: Actually clear the context's dirty flags.
I was trying to skip state updates when !dirty, and suspiciously everything was always dirty.
This commit is contained in:
parent
7c474f9f2e
commit
c6f50c4086
1 changed files with 1 additions and 0 deletions
|
|
@ -103,6 +103,7 @@ vc4_draw_vbo(struct pipe_context *pctx, const struct pipe_draw_info *info)
|
|||
vc4_update_compiled_shaders(vc4, info->mode);
|
||||
|
||||
vc4_emit_state(pctx);
|
||||
vc4->dirty = 0;
|
||||
|
||||
vc4_write_uniforms(vc4, vc4->prog.fs,
|
||||
&vc4->constbuf[PIPE_SHADER_FRAGMENT],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue