mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
intel/fs: store num of resume shaders in prog_data
That way we can look at the SBT entries for debug purposes. Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Reviewed-by: Caio Oliveira <caio.oliveira@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17908>
This commit is contained in:
parent
b2bf792ea5
commit
9cb9390962
2 changed files with 4 additions and 0 deletions
|
|
@ -1103,6 +1103,9 @@ struct brw_bs_prog_data {
|
|||
|
||||
/** Offset into the shader where the resume SBT is located */
|
||||
uint32_t resume_sbt_offset;
|
||||
|
||||
/** Number of resume shaders */
|
||||
uint32_t num_resume_shaders;
|
||||
};
|
||||
|
||||
struct brw_ff_gs_prog_data {
|
||||
|
|
|
|||
|
|
@ -8041,6 +8041,7 @@ brw_compile_bs(const struct brw_compiler *compiler,
|
|||
prog_data->base.total_scratch = 0;
|
||||
|
||||
prog_data->max_stack_size = 0;
|
||||
prog_data->num_resume_shaders = num_resume_shaders;
|
||||
|
||||
fs_generator g(compiler, params->log_data, mem_ctx, &prog_data->base,
|
||||
false, shader->info.stage);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue