mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 13:38:06 +02:00
v3d/compiler: fix spill offset
Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com> Reviewed-by: Jose Maria Casanova Crespo <jmcasanova@igalia.com> Fixes:97566efe5c("v3d: Rematerialize MOVs of uniforms instead of spilling them.") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5664> (cherry picked from commit653dff949e)
This commit is contained in:
parent
ce2092baa2
commit
facfe6c0d8
2 changed files with 2 additions and 2 deletions
|
|
@ -3136,7 +3136,7 @@
|
|||
"description": "v3d/compiler: fix spill offset",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "97566efe5cac0ff11b23d8f27001fc98c7cea2af"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue