[Mesa-dev] [PATCH] i965/fs: remove unused fs_reg offset

Abdiel Janulgue abdiel.janulgue at linux.intel.com
Mon Nov 30 00:58:02 PST 2015



On 11/30/2015 10:31 AM, Samuel Iglesias Gonsálvez wrote:
> Signed-off-by: Samuel Iglesias Gonsálvez <siglesias at igalia.com>
> ---
>  src/mesa/drivers/dri/i965/brw_fs_visitor.cpp | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> index 640e047..68f2548 100644
> --- a/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_fs_visitor.cpp
> @@ -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);
> 


Reviewed-by: Abdiel Janulgue <abdiel.janulgue at linux.intel.com>


More information about the mesa-dev mailing list