[Mesa-dev] [PATCH 2/4] r600g: fix constant buffer fetches

Andreas Boll andreas.boll.dev at gmail.com
Wed Aug 13 12:28:55 PDT 2014


Thanks for fixing!

Tested-by: Andreas Boll <andreas.boll.dev at gmail.com>

2014-08-11 22:46 GMT+02:00 Marek Olšák <maraeo at gmail.com>:
> From: Marek Olšák <marek.olsak at amd.com>
>
> Somebody forgot to do this. It was uncovered by recent st/mesa changes.
> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=82139
>
> Cc: mesa-stable at lists.freedesktop.org
> ---
>  src/gallium/drivers/r600/r600_shader.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/src/gallium/drivers/r600/r600_shader.c b/src/gallium/drivers/r600/r600_shader.c
> index 8019a1c..4f90586 100644
> --- a/src/gallium/drivers/r600/r600_shader.c
> +++ b/src/gallium/drivers/r600/r600_shader.c
> @@ -1015,6 +1015,7 @@ static int tgsi_split_constant(struct r600_shader_ctx *ctx)
>                                 alu.src[0].sel = ctx->src[i].sel;
>                                 alu.src[0].chan = k;
>                                 alu.src[0].rel = ctx->src[i].rel;
> +                               alu.src[0].kc_bank = ctx->src[i].kc_bank;
>                                 alu.dst.sel = treg;
>                                 alu.dst.chan = k;
>                                 alu.dst.write = 1;
> --
> 1.9.1
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list