Skip to content

Commit c9aa148

Browse files
authored
rust-sdk: generate new gpu proto bindings (#5207)
1 parent 90a0075 commit c9aa148

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

contrib/rust-sdk/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

contrib/rust-sdk/perfetto-protos-gpu/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
edition = "2024"
33
name = "perfetto-sdk-protos-gpu"
4-
version = "0.3.0"
4+
version = "0.3.1"
55
authors = ["David Reveman <reveman@meta.com>"]
66
description = "Extra protobuf bindings for GPU events"
77
readme = "README.md"

contrib/rust-sdk/perfetto-protos-gpu/src/protos/trace/gpu/gpu_render_stage_event.pz.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ pb_enum!(InternedGraphicsContextApi {
3030
OPEN_GL: 1,
3131
VULKAN: 2,
3232
OPEN_CL: 3,
33+
CUDA: 4,
34+
HIP: 5,
3335
});
3436

3537
pb_msg!(InternedGpuRenderStageSpecification {
@@ -59,6 +61,7 @@ pb_msg!(GpuRenderStageEvent {
5961
render_pass_instance_id: u64, primitive, 16,
6062
render_subpass_index_mask: u64, primitive, 15,
6163
command_buffer_handle: u64, primitive, 12,
64+
name: String, primitive, 17,
6265
specifications: GpuRenderStageEventSpecifications, msg, 7,
6366
hw_queue_id: i32, primitive, 3,
6467
stage_id: i32, primitive, 4,

0 commit comments

Comments
 (0)