i965/fs_nir: Get rid of get_alu_src
[mesa.git] / src / mesa / drivers / dri / i965 / brw_interpolation_map.c
index ef9cf1560ece914597cc54a30b5495653d051f1e..8ab17aaa50516f35ecf2ab86278c19c34a7034ba 100644 (file)
@@ -44,7 +44,7 @@ brw_setup_vue_interpolation(struct brw_context *brw)
 
    memset(&brw->interpolation_mode, INTERP_QUALIFIER_NONE, sizeof(brw->interpolation_mode));
 
-   SET_DIRTY_BIT(brw, BRW_NEW_INTERPOLATION_MAP);
+   brw->state.dirty.brw |= BRW_NEW_INTERPOLATION_MAP;
 
    if (!fprog)
       return;
@@ -105,8 +105,8 @@ brw_setup_vue_interpolation(struct brw_context *brw)
 const struct brw_tracked_state brw_interpolation_map = {
    .dirty = {
       .mesa  = _NEW_LIGHT,
-      .brw   = (BRW_NEW_FRAGMENT_PROGRAM |
-                BRW_NEW_VUE_MAP_GEOM_OUT)
+      .brw   = BRW_NEW_FRAGMENT_PROGRAM |
+               BRW_NEW_VUE_MAP_GEOM_OUT,
    },
    .emit = brw_setup_vue_interpolation
 };