mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
broadcom/vc5: Make sure the TMU indirect struct is appropriately aligned.
I was hoping that this would help with fbo-generatemipmap hangs, but no luck.
This commit is contained in:
parent
cb47de4ff0
commit
949ac638bc
1 changed files with 2 additions and 0 deletions
|
|
@ -170,6 +170,8 @@ emit_one_texture(struct vc5_context *vc5, struct vc5_texture_stateobj *stage_tex
|
|||
for (int i = 0; i < ARRAY_SIZE(packed); i++)
|
||||
packed[i] |= sview->texture_shader_state[i] | sampler->texture_shader_state[i];
|
||||
|
||||
/* TMU indirect structs need to be 32b aligned. */
|
||||
vc5_cl_ensure_space(&job->indirect, ARRAY_SIZE(packed), 32);
|
||||
cl_emit_prepacked(&job->indirect, &packed);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue