summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2016-11-16 20:24:25 -0800
committerEmil Velikov <emil.l.velikov@gmail.com>2016-11-24 16:34:40 +0000
commit747052ee188fc17ee282ee26311187f131a7adfe (patch)
treeff920098f02d5102179e30e8078c12640e36abdf /src
parentc94c804c2996f6c5111cdd3679650f29d630616a (diff)
downloadexternal_mesa3d-747052ee188fc17ee282ee26311187f131a7adfe.zip
external_mesa3d-747052ee188fc17ee282ee26311187f131a7adfe.tar.gz
external_mesa3d-747052ee188fc17ee282ee26311187f131a7adfe.tar.bz2
i965: Fix compute shader crash.
Fixes crashes when starting Deus Ex: Mankind Divided. Cc: mesa-stable@lists.freedesktop.org Signed-off-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com> (cherry picked from commit ca76e6b5213c92432b9f3a641cb26f5861d53e09)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_cs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_cs.c b/src/mesa/drivers/dri/i965/brw_cs.c
index e7dcf47..c4493d4 100644
--- a/src/mesa/drivers/dri/i965/brw_cs.c
+++ b/src/mesa/drivers/dri/i965/brw_cs.c
@@ -231,7 +231,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);