radv/rt: adjust shared_size when lowering hit_attribs
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22096>
This commit is contained in:
parent
393f3426b6
commit
870e4d285e
1 changed files with 4 additions and 0 deletions
|
|
@ -771,6 +771,10 @@ lower_hit_attribs(nir_shader *shader, nir_variable **hit_attribs, uint32_t workg
|
|||
nir_instr_remove(instr);
|
||||
}
|
||||
}
|
||||
|
||||
if (!hit_attribs)
|
||||
shader->info.shared_size =
|
||||
MAX2(shader->info.shared_size, workgroup_size * RADV_MAX_HIT_ATTRIB_SIZE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue