radv: check that layout isn't NULL in radv_nir_shader_info_pass()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 May 2018 14:04:33 +0000 (16:04 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 14 May 2018 19:38:17 +0000 (21:38 +0200)
commit7cbc6f2621f6d91b7bb201b9539ebff0f903828a
tree8f6f9614b79b6447dc5f298f0ae24439fb491efb
parent18f8200a994440faa9fb9e80e99e8140ea912993
radv: check that layout isn't NULL in radv_nir_shader_info_pass()

An upcoming patch will run the shader info pass on the
geometry shader just before emitting the GS copy shader.

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