radv/rra: Fix reporting the isec invocations

Copy+paste mistake, we always set the last call to accept.

Reviewed-by: Friedrich Vock <friedrich.vock@gmx.de>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29537>
This commit is contained in:
Konstantin Seurer
2024-03-21 17:25:20 +01:00
committed by Marge Bot
parent 97c0f264f0
commit 55f1fe9bc3
+1 -1
View File
@@ -1496,7 +1496,7 @@ radv_rra_dump_trace(VkQueue vk_queue, char *filename)
};
struct rra_ray_history_control_token isec_status_control = {
.type = rra_ray_history_token_isec_status,
.data = i == src->ahit_count - 1 ? 2 : 0,
.data = i == src->isec_count - 1 ? 2 : 0,
};
fwrite(&isec_status_id, sizeof(isec_status_id), 1, file);
fwrite(&isec_status_control, sizeof(isec_status_control), 1, file);