anv/apply_pipeline_layout: Initialize the nir_builder before use
authorJason Ekstrand <jason@jlekstrand.net>
Fri, 24 Jan 2020 03:24:15 +0000 (21:24 -0600)
committerMark Janes <markjanes@swizzler.org>
Fri, 24 Jan 2020 03:35:39 +0000 (19:35 -0800)
commit8a135ff6e5f5813c110ea0a4ae7d1f3c0cb37115
treef37aa3ade9eb2e3d8bbe056c4ea735c82fc5bc39
parentadaa3583f507f822533162279c3660be0f649866
anv/apply_pipeline_layout: Initialize the nir_builder before use

Fixes: #2410
Fixes: 3c754900b5f "nir: don't emit ishl in _nir_mul_imm() if backend doesn't support bitops"
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3548>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3548>
src/intel/vulkan/anv_nir_apply_pipeline_layout.c