@@ -185,19 +185,20 @@ std::vector<ShaderResult> QueryPool::get_shader_timestamp_data() {
185185 std::vector<ShaderResult> shader_result;
186186 for (ShaderDuration& entry : shader_durations_) {
187187 shader_result.push_back (ShaderResult{
188- .kernel_name = entry.kernel_name ,
189- .dispatch_id = entry.dispatch_id ,
190- .start_time_ns = entry.start_time_ns ,
191- .end_time_ns = entry.end_time_ns ,
192- .metadata = ShaderMetadata{
193- .global_workgroup_size =
194- {entry.global_workgroup_size .width ,
195- entry.global_workgroup_size .height ,
196- entry.global_workgroup_size .depth },
197- .local_workgroup_size =
198- {entry.local_workgroup_size .width ,
199- entry.local_workgroup_size .height ,
200- entry.local_workgroup_size .depth },
188+ /* .kernel_name = */ entry.kernel_name ,
189+ /* .dispatch_id = */ entry.dispatch_id ,
190+ /* .start_time_ns = */ entry.start_time_ns ,
191+ /* .end_time_ns = */ entry.end_time_ns ,
192+ /* .metadata = */
193+ ShaderMetadata{
194+ /* .global_workgroup_size = */
195+ {entry.global_workgroup_size .width ,
196+ entry.global_workgroup_size .height ,
197+ entry.global_workgroup_size .depth },
198+ /* .local_workgroup_size = */
199+ {entry.local_workgroup_size .width ,
200+ entry.local_workgroup_size .height ,
201+ entry.local_workgroup_size .depth },
201202 }});
202203 }
203204 return shader_result;
0 commit comments