projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3da7adc
)
i965: Fix compute shader crash.
author
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 17 Nov 2016 04:24:25 +0000
(20:24 -0800)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Thu, 17 Nov 2016 22:14:06 +0000
(14:14 -0800)
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>
src/mesa/drivers/dri/i965/brw_cs.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_cs.c
b/src/mesa/drivers/dri/i965/brw_cs.c
index
ab445ab
..
72b2dbe
100644
(file)
--- 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);