v3d/compiler: add more stats to prog_data

So we can expose them via VK_KHR_pipeline_executable_properties.

Reviewed-by: Alejandro Piñeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16370>
This commit is contained in:
Iago Toral Quiroga
2022-05-06 11:24:07 +02:00
committed by Marge Bot
parent dc48313d70
commit 487c213142
2 changed files with 15 additions and 0 deletions

View File

@@ -739,6 +739,8 @@ struct v3d_compile {
*/
uint32_t max_tmu_spills;
uint32_t compile_strategy_idx;
/* The UBO index and block used with the last unifa load, as well as the
* current unifa offset *after* emitting that load. This is used to skip
* unifa writes (and their 3 delay slot) when the next UBO load reads
@@ -914,6 +916,12 @@ struct v3d_prog_data {
struct v3d_uniform_list uniforms;
uint32_t spill_size;
uint32_t tmu_spills;
uint32_t tmu_fills;
uint32_t qpu_read_stalls;
uint8_t compile_strategy_idx;
uint8_t threads;