radv: fix a crash in radv_can_dump_shader()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Dec 2017 14:32:58 +0000 (15:32 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 4 Dec 2017 18:52:14 +0000 (19:52 +0100)
commit5de7c782fbb30dc49d6b48f797db8f551dada50a
treeb1fb5a4b0776fa1ffe00615841f5f01ea5c9841b
parenta932aee7a8f1e13a1885823c808dcc7b72e761ae
radv: fix a crash in radv_can_dump_shader()

module can be NULL, oops.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_shader.h