radv: save the bound pipeline pointers into the trace BO
When a GPU hang is detected in radv_gpu_hang_occured() we know which command buffer is faulty but the bound pipelines might have been updated during the execution. The pointers to the radv_pipeline objects are emitted just after the second trace ID, that way it would be easy to dump the active shaders at the moment of the hang. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
*
|
||||
* [0]: primary trace ID
|
||||
* [1]: secondary trace ID
|
||||
* [2-3]: 64-bit GFX pipeline pointer
|
||||
* [4-5]: 64-bit COMPUTE pipeline pointer
|
||||
*/
|
||||
|
||||
bool
|
||||
|
Reference in New Issue
Block a user