[Mesa-stable] [PATCH] i965: Fix compute shader crash.
Anuj Phogat
anuj.phogat at gmail.com
Thu Nov 17 19:59:31 UTC 2016
On Thu, Nov 17, 2016 at 11:37 AM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Fixes crashes when starting Deus Ex: Mankind Divided.
>
> Cc: mesa-stable at lists.freedesktop.org
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> src/mesa/drivers/dri/i965/brw_cs.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_cs.c b/src/mesa/drivers/dri/i965/brw_cs.c
> index ab445ab..72b2dbe 100644
> --- a/src/mesa/drivers/dri/i965/brw_cs.c
> +++ b/src/mesa/drivers/dri/i965/brw_cs.c
> @@ -223,7 +223,7 @@ brw_upload_cs_prog(struct brw_context *brw)
> &brw->cs.base.prog_data)) {
> bool success =
> brw_codegen_cs_prog(brw,
> - ctx->Shader.CurrentProgram[MESA_SHADER_COMPUTE],
> + ctx->_Shader->CurrentProgram[MESA_SHADER_COMPUTE],
> cp, &key);
> (void) success;
> assert(success);
> --
> 2.10.2
>
> _______________________________________________
> mesa-stable mailing list
> mesa-stable at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-stable
Reviewed-by: Anuj Phogat <anuj.phogat at gmail.com>
More information about the mesa-stable
mailing list