Added few more stubs so that control reaches to DestroyDevice().
[mesa.git] / src / intel / compiler / brw_interpolation_map.c
index 454cc3e2c244bfb8a16e8a351d84266d1f17f919..a9686e8c59fa68a9cc91bafaff796775285d71bc 100644 (file)
@@ -75,7 +75,7 @@ brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir,
       prog_data->contains_noperspective_varying = true;
    }
 
-   foreach_list_typed(nir_variable, var, node, &nir->inputs) {
+   nir_foreach_shader_in_variable(var, nir) {
       unsigned location = var->data.location;
       unsigned slot_count = glsl_count_attribute_slots(var->type, false);
 
@@ -89,7 +89,7 @@ brw_setup_vue_interpolation(struct brw_vue_map *vue_map, nir_shader *nir,
       }
    }
 
-   bool debug = false;
+   const bool debug = false;
    if (debug) {
       fprintf(stderr, "VUE map:\n");
       for (int i = 0; i < vue_map->num_slots; i++) {