mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
ac/nir/ngg: add one odd dword to nogs culling pervertex lds
radeonsi use like this. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Signed-off-by: Qiang Yu <yuq825@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18832>
This commit is contained in:
parent
13fb7f8f2c
commit
bfb6a5fef1
1 changed files with 2 additions and 1 deletions
|
|
@ -1312,7 +1312,8 @@ ngg_nogs_get_culling_pervertex_lds_size(gl_shader_stage stage,
|
|||
if (max_exported_args)
|
||||
*max_exported_args = max_args;
|
||||
|
||||
return lds_es_arg_0 + max_args * 4u;
|
||||
/* one odd dword to reduce LDS bank conflict */
|
||||
return (lds_es_arg_0 + max_args * 4u) | 4u;
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue