diff options
author | Samuel Pitoiset <[email protected]> | 2020-03-11 16:07:18 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-03-11 19:30:13 +0000 |
commit | f0178f516f5f96c599592d86c3975234264fefc5 (patch) | |
tree | 4aebb70f999f261481b9fdacc10e6f1fb07b412d /src | |
parent | fb477cc42186d4809b955072a1c2336d64f07944 (diff) |
radv: fix 32-bits build (again)
Fixes: dcfc08f5b8a ("radv/sqtt: describe begin/end command buffers with user markers")
Signed-off-by: Samuel Pitoiset <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4044>
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; |