mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 04:30:10 +01:00
radeonsi/sqtt: export wave size and scratch size
Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12899>
This commit is contained in:
parent
a574d0541a
commit
a25a6abbd7
1 changed files with 2 additions and 0 deletions
|
|
@ -1000,6 +1000,8 @@ si_sqtt_add_code_object(struct si_context* sctx,
|
|||
record->shader_data[i].elf_symbol_offset = 0;
|
||||
record->shader_data[i].hw_stage = hw_stage;
|
||||
record->shader_data[i].is_combined = false;
|
||||
record->shader_data[i].scratch_memory_size = shader->config.scratch_bytes_per_wave;
|
||||
record->shader_data[i].wavefront_size = si_get_shader_wave_size(shader);
|
||||
|
||||
record->shader_stages_mask |= (1 << i);
|
||||
record->num_shaders_combined++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue