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 ba088b6e852c950a30a4918014d5df138607f205..5800e683d39a80dd5ce884526cb6aa54aefe34af 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);