diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-03-17 01:25:00 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-08-29 23:05:59 +0200 |
commit | 46dd30d08f4c788449f36fce9a53424008693cd0 (patch) | |
tree | 7d39b072776fe915f9111f8314aa519dd50b6a15 /src/amd/vulkan/winsys | |
parent | 43eb761cad8a7941788735d2d7a5f10a36a25148 (diff) |
ac/debug: Support multiple trace ids for nested IBs.
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/winsys')
-rw-r--r-- | src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c index adb855f97de..49c9c909466 100644 --- a/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c +++ b/src/amd/vulkan/winsys/amdgpu/radv_amdgpu_cs.c @@ -998,8 +998,8 @@ static void radv_amdgpu_winsys_cs_dump(struct radeon_winsys_cs *_cs, num_dw = cs->ib.size; } assert(ib); - ac_parse_ib(file, ib, num_dw, trace_id, "main IB", cs->ws->info.chip_class, - radv_amdgpu_winsys_get_cpu_addr, cs); + ac_parse_ib(file, ib, num_dw, (const int*)&trace_id, 1, "main IB", + cs->ws->info.chip_class, radv_amdgpu_winsys_get_cpu_addr, cs); } static struct radeon_winsys_ctx *radv_amdgpu_ctx_create(struct radeon_winsys *_ws) |