diff options
author | Dave Airlie <[email protected]> | 2019-07-18 10:44:10 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2019-07-19 11:00:25 +1000 |
commit | 2ac2b987801c60e5e141354ee1759b63ca85bf4c (patch) | |
tree | 7ce99827ddb2ea07921c7d1203dad9c0b06a5292 /src/amd/vulkan/si_cmd_buffer.c | |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/si_cmd_buffer.c')
0 files changed, 0 insertions, 0 deletions