anv/pipeline: Only call remove_dead_variables once
authorJason Ekstrand <jason.ekstrand@intel.com>
Sat, 7 Jan 2017 01:25:35 +0000 (17:25 -0800)
committerJason Ekstrand <jason.ekstrand@intel.com>
Sat, 7 Jan 2017 23:45:09 +0000 (15:45 -0800)
commit43e0b0d4b255d910616c10e3e01bfec5db469e0e
treeeaa36567f0a158e6e0830f951b17fc97c103aa7d
parent957ec00243ec8ccc0a94f68106d079b54685fe5a
anv/pipeline: Only call remove_dead_variables once

It can handle multiple modes at a time now so there's no reason to call
it repeatedly.

Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/intel/vulkan/anv_pipeline.c