summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-19 12:06:56 +1100
committerTimothy Arceri <[email protected]>2016-10-26 14:29:36 +1100
commit4ca71a1175a0065d9cf2920da94b14aa2d676b00 (patch)
tree1588537522f055bcb51838d9fbb661a9410b10a9 /src/mesa/state_tracker/st_program.c
parent54095ed8b9c98701e1fe1e9f8332f9bb34ccdbfa (diff)
st/mesa: switch cs over to shared shader_info
Reviewed-by: Marek Olšák <[email protected]> Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.c')
-rw-r--r--src/mesa/state_tracker/st_program.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index e671e129390..2e58f07d5c1 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -1686,7 +1686,7 @@ st_translate_compute_program(struct st_context *st,
stcp->tgsi.ir_type = PIPE_SHADER_IR_TGSI;
stcp->tgsi.prog = prog.tokens;
- stcp->tgsi.req_local_mem = stcp->Base.SharedSize;
+ stcp->tgsi.req_local_mem = stcp->Base.Base.info.cs.shared_size;
stcp->tgsi.req_private_mem = 0;
stcp->tgsi.req_input_mem = 0;