radv: Don't free NIR shaders if tracing
authorAlex Smith <asmith@feralinteractive.com>
Wed, 18 Oct 2017 14:08:20 +0000 (15:08 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 18 Oct 2017 18:37:10 +0000 (20:37 +0200)
commitf5576732374b9e964394bd0c88fc3130f6453f15
tree30d7bff59571eb0442c0755aea3176d4c8b5214b
parent84f3afc2e122cb418573f1e9c61716520f9859c1
radv: Don't free NIR shaders if tracing

Fixes a crash while generating a hang report.

Fixes: 7d45d22fdd2e ("radv: switch to using radv_create_shaders()")
Signed-off-by: Alex Smith <asmith@feralinteractive.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_pipeline.c