i965/fs: remove unused fs_reg offset
authorSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 30 Nov 2015 08:28:42 +0000 (09:28 +0100)
committerSamuel Iglesias Gonsálvez <siglesias@igalia.com>
Mon, 30 Nov 2015 09:00:40 +0000 (10:00 +0100)
Signed-off-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
Reviewed-by: Abdiel Janulgue <abdiel.janulgue@linux.intel.com>
src/mesa/drivers/dri/i965/brw_fs_visitor.cpp

index 640e04725229c4f13b0ef3b6e83e1acc3361ef1d..68f2548d2bc22b337b42b885c4f7bec7c6a57ced 100644 (file)
@@ -748,7 +748,6 @@ fs_visitor::emit_urb_writes(const fs_reg &gs_vertex_count)
       const int output_vertex_size_owords =
          gs_prog_data->output_vertex_size_hwords * 2;
 
-      fs_reg offset;
       if (gs_vertex_count.file == IMM) {
          per_slot_offsets = brw_imm_ud(output_vertex_size_owords *
                                        gs_vertex_count.ud);