radv: remove one useless check in ac_nir_shader_info_pass()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 Dec 2017 18:38:55 +0000 (19:38 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 19 Dec 2017 20:22:12 +0000 (21:22 +0100)
commit1cecaa9174a0d3c14163ca276e39ac6771f81601
treecc881f74f1e68b4951bcbce9f7dede27d16b570e
parentf9a07474a1eb4b276c75cfb27d040358139562d1
radv: remove one useless check in ac_nir_shader_info_pass()

pipeline->layout can't be NULL now.

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