Skip to content
Commit f17ff71f authored by Dave Airlie's avatar Dave Airlie Committed by Juan A. Suarez Romero
Browse files

radv: fix crash in shader tracing.



Enabling tracing, and then having a vmfault, can leads to a segfault
before we print out the traces, as if a meta shader is executing
and we don't have the NIR for it.

Just pass the stage and give back a default.

Fixes: 9b9ccee4 ("radv: take LDS into account for compute shader occupancy stats")
Reviewed-by: default avatarSamuel Pitoiset <samuel.pitoiset@gmail.com>
(cherry picked from commit 2ac2b987)
parent d86b14ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment