tu: Add early preamble statistic
It can affect performance if we accidentally disable early preamble so record it here. Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29903>
This commit is contained in:
@@ -4607,6 +4607,14 @@ tu_GetPipelineExecutableStatisticsKHR(
|
||||
stat->value.u64 = exe->stats.ldp_count;
|
||||
}
|
||||
|
||||
vk_outarray_append_typed(VkPipelineExecutableStatisticKHR, &out, stat) {
|
||||
WRITE_STR(stat->name, "Early preamble");
|
||||
WRITE_STR(stat->description,
|
||||
"Whether the preamble will be executed early.");
|
||||
stat->format = VK_PIPELINE_EXECUTABLE_STATISTIC_FORMAT_BOOL32_KHR;
|
||||
stat->value.b32 = exe->stats.early_preamble;
|
||||
}
|
||||
|
||||
return vk_outarray_status(&out);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user