mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
anv/pipeline: Set size of shared variables in prog_data
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
86daceb7f2
commit
97b09a9268
1 changed files with 2 additions and 0 deletions
|
|
@ -746,6 +746,8 @@ anv_pipeline_compile_cs(struct anv_pipeline *pipeline,
|
|||
if (nir == NULL)
|
||||
return vk_error(VK_ERROR_OUT_OF_HOST_MEMORY);
|
||||
|
||||
prog_data->base.total_shared = nir->num_shared;
|
||||
|
||||
void *mem_ctx = ralloc_context(NULL);
|
||||
|
||||
if (module->nir == NULL)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue