commit | 2ac2b987801c60e5e141354ee1759b63ca85bf4c | [log] [tgz] |
---|---|---|
author | Dave Airlie <airlied@redhat.com> | Thu Jul 18 10:44:10 2019 +1000 |
committer | Dave Airlie <airlied@redhat.com> | Fri Jul 19 11:00:25 2019 +1000 |
tree | 7ce99827ddb2ea07921c7d1203dad9c0b06a5292 | |
parent | 80c2c17e1e5d93bef83fa711fab9d24c8de5bc36 [diff] |
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: 9b9ccee4d64 ("radv: take LDS into account for compute shader occupancy stats") Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>