diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/vulkan/layers/radv_sqtt_layer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/layers/radv_sqtt_layer.c b/src/amd/vulkan/layers/radv_sqtt_layer.c index fb262409772..5f61937367f 100644 --- a/src/amd/vulkan/layers/radv_sqtt_layer.c +++ b/src/amd/vulkan/layers/radv_sqtt_layer.c @@ -402,7 +402,7 @@ radv_write_event_with_dims_marker(struct radv_cmd_buffer *cmd_buffer, void radv_describe_begin_cmd_buffer(struct radv_cmd_buffer *cmd_buffer) { - uint64_t device_id = (uint64_t)cmd_buffer->device; + uint64_t device_id = (uintptr_t)cmd_buffer->device; struct rgp_sqtt_marker_cb_start marker = {}; struct radeon_cmdbuf *cs = cmd_buffer->cs; @@ -427,7 +427,7 @@ radv_describe_begin_cmd_buffer(struct radv_cmd_buffer *cmd_buffer) void radv_describe_end_cmd_buffer(struct radv_cmd_buffer *cmd_buffer) { - uint64_t device_id = (uint64_t)cmd_buffer->device; + uint64_t device_id = (uintptr_t)cmd_buffer->device; struct rgp_sqtt_marker_cb_end marker = {}; struct radeon_cmdbuf *cs = cmd_buffer->cs; |