mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 02:30:18 +01:00
anv: Report correct SLM size
Fixes:d787a2d0"anv: Implement VK_KHR_pipeline_executable_properties" Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4597> (cherry picked from commitb8acf9a3d4)
This commit is contained in:
parent
e16cb98ce2
commit
4dfb9d9fce
2 changed files with 2 additions and 2 deletions
|
|
@ -1012,7 +1012,7 @@
|
|||
"description": "anv: Report correct SLM size",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "d787a2d05e20642a7ec52ce80a830c7795a6bdc0"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -2099,7 +2099,7 @@ VkResult anv_GetPipelineExecutableStatisticsKHR(
|
|||
"Number of bytes of workgroup shared memory used by this "
|
||||
"compute shader including any padding.");
|
||||
stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_UINT64_KHR;
|
||||
stat->value.u64 = prog_data->total_scratch;
|
||||
stat->value.u64 = brw_cs_prog_data_const(prog_data)->slm_size;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue