Commit 9507e036 authored by Eric Anholt's avatar Eric Anholt

vc4: Fix a leak of the no-vertex-elements workaround BO.

Fixes: bd192556 ("vc4: Convert the driver to emitting the shader record using pack macros.")
parent 86095e9b
......@@ -222,6 +222,8 @@ vc4_emit_gl_shader_state(struct vc4_context *vc4,
attr.coordinate_shader_vpm_offset = 0;
attr.vertex_shader_vpm_offset = 0;
}
vc4_bo_unreference(&bo);
}
cl_emit(&job->bcl, GL_SHADER_STATE, shader_state) {
......
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