i965: remove pointless diff with the master branch
authorJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 17:39:54 +0000 (10:39 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Thu, 14 Apr 2016 17:39:54 +0000 (10:39 -0700)
src/mesa/drivers/dri/i965/brw_program.c
src/mesa/drivers/dri/i965/brw_vec4_nir.cpp

index b093a87bb82da8d6456ff419a449f4019efd5696..3112c0c40143bc1214f719767fca48791fe63059 100644 (file)
@@ -279,7 +279,7 @@ brw_get_scratch_bo(struct brw_context *brw,
 
 void brwInitFragProgFuncs( struct dd_function_table *functions )
 {
-   /* assert(functions->ProgramStringNotify == _tnl_program_string); */
+   assert(functions->ProgramStringNotify == _tnl_program_string);
 
    functions->NewProgram = brwNewProgram;
    functions->DeleteProgram = brwDeleteProgram;
index 032fdaa4d236637af47b5807737f54fd7de2b31c..b67d104c34029c8415c6afe8fc4769e1d708fd8c 100644 (file)
@@ -1647,6 +1647,7 @@ vec4_visitor::nir_emit_jump(nir_jump_instr *instr)
       break;
 
    case nir_jump_return:
+      /* fall through */
    default:
       unreachable("unknown jump");
    }