[Mesa-dev] [PATCH 13/31] i965/blorp: Use BT_INDEX enums for setting up the binding table

Pohjolainen, Topi topi.pohjolainen at gmail.com
Tue Aug 23 14:14:20 UTC 2016


On Fri, Aug 19, 2016 at 09:55:50AM -0700, Jason Ekstrand wrote:
> ---
>  src/mesa/drivers/dri/i965/blorp.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Patches 9, 12 and 13 are:

Reviewed-by: Topi Pohjolainen <topi.pohjolainen at intel.com>

> 
> diff --git a/src/mesa/drivers/dri/i965/blorp.c b/src/mesa/drivers/dri/i965/blorp.c
> index 2a488c2..dba3441 100644
> --- a/src/mesa/drivers/dri/i965/blorp.c
> +++ b/src/mesa/drivers/dri/i965/blorp.c
> @@ -304,8 +304,8 @@ brw_blorp_compile_nir_shader(struct brw_context *brw, struct nir_shader *nir,
>     wm_prog_data.base.param = NULL;
>  
>     /* BLORP always just uses the first two binding table entries */
> -   wm_prog_data.binding_table.render_target_start = 0;
> -   wm_prog_data.base.binding_table.texture_start = 1;
> +   wm_prog_data.binding_table.render_target_start = BLORP_RENDERBUFFER_BT_INDEX;
> +   wm_prog_data.base.binding_table.texture_start = BLORP_TEXTURE_BT_INDEX;
>  
>     nir = brw_preprocess_nir(compiler, nir);
>     nir_remove_dead_variables(nir, nir_var_shader_in);
> -- 
> 2.5.0.400.gff86faf
> 
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list