[Mesa-dev] [PATCH] i965/vec4: Eliminate the vec4_generator class altogether.

Matt Turner mattst88 at gmail.com
Sun Oct 25 13:19:32 PDT 2015


On Fri, Oct 23, 2015 at 7:10 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
> index 96a52c6..6569d81 100644
> --- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
> +++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp
> @@ -631,10 +511,11 @@ vec4_generator::generate_gs_svb_write(vec4_instruction *inst,
>     brw_pop_insn_state(p);
>  }
>
> -void
> -vec4_generator::generate_gs_svb_set_destination_index(vec4_instruction *inst,
> -                                                      struct brw_reg dst,
> -                                                      struct brw_reg src)
> +static void
> +generate_gs_svb_set_destination_index(struct brw_codegen *p,
> +                                      vec4_instruction *inst,
> +                                      struct brw_reg dst,
> +                                      struct brw_reg src)
>  {
>

Could you delete this stray new line while you're here?

>     int vertex = inst->sol_vertex;


More information about the mesa-dev mailing list