Commit 653dff94 authored by Iago Toral's avatar Iago Toral

v3d/compiler: fix spill offset

Reviewed-by: Alejandro Piñeiro's avatarAlejandro Piñeiro <>
Reviewed-by: José Casanova Crespo's avatarJose Maria Casanova Crespo <>
Fixes: 97566efe ("v3d: Rematerialize MOVs of uniforms instead of spilling them.")
Part-of: <!5664>
parent 7a5e6fd2
Pipeline #168792 passed with stages
in 10 minutes and 47 seconds
......@@ -213,7 +213,7 @@ v3d_spill_reg(struct v3d_compile *c, int spill_temp)
uint32_t spill_offset = 0;
if (!is_uniform) {
uint32_t spill_offset = c->spill_size;
spill_offset = c->spill_size;
c->spill_size += V3D_CHANNELS * sizeof(uint32_t);
if (spill_offset == 0)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment