anv: fix build break
authorRob Clark <robclark@freedesktop.org>
Wed, 11 May 2016 18:03:24 +0000 (14:03 -0400)
committerRob Clark <robclark@freedesktop.org>
Wed, 11 May 2016 18:03:24 +0000 (14:03 -0400)
Previous rename of lower-output-to-temps pass predated merging of anv,
and apparently vulkan wasn't enabled in my local builds so overlooked
this when rebasing.

Reported-by: Mark Janes <mark.a.janes@intel.com>
Signed-off-by: Rob Clark <robclark@freedesktop.org>
src/intel/vulkan/anv_pipeline.c

index ba088b6..5800e68 100644 (file)
@@ -161,7 +161,7 @@ anv_shader_compile_to_nir(struct anv_device *device,
       nir_remove_dead_variables(nir, nir_var_system_value);
       nir_validate_shader(nir);
 
-      nir_lower_outputs_to_temporaries(entry_point->shader, entry_point);
+      nir_lower_io_to_temporaries(entry_point->shader, entry_point, true, false);
 
       nir_lower_system_values(nir);
       nir_validate_shader(nir);