diff options
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_fs.cpp | 1 | ||||
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp index ee3b7fd9be6..b777172c239 100644 --- a/src/mesa/drivers/dri/i965/brw_fs.cpp +++ b/src/mesa/drivers/dri/i965/brw_fs.cpp @@ -2158,6 +2158,7 @@ fs_visitor::run() } else { emit_fragment_program_code(); } + base_ir = NULL; if (failed) return false; diff --git a/src/mesa/drivers/dri/i965/brw_vec4.cpp b/src/mesa/drivers/dri/i965/brw_vec4.cpp index 34c34d79399..1a199d6e822 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4.cpp @@ -1052,6 +1052,7 @@ vec4_visitor::run() } else { emit_vertex_program_code(); } + base_ir = NULL; if (c->key.userclip_active && !c->key.uses_clip_distance) setup_uniform_clipplane_values(); |