diff options
author | Timothy Arceri <[email protected]> | 2016-10-19 12:11:06 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | 9605b98a078654f6f76e85221599e5fa8c073de6 (patch) | |
tree | e5b3666d491fa200674dee9a635684d721d4f84d /src/mesa/state_tracker/st_program.c | |
parent | 5a228c0aae347ce68009f165427581e149611d65 (diff) |
i965/mesa/st: eliminate gl_compute_program
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.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c index 2e58f07d5c1..55cf57289ec 100644 --- a/src/mesa/state_tracker/st_program.c +++ b/src/mesa/state_tracker/st_program.c @@ -211,7 +211,7 @@ st_release_cp_variants(struct st_context *st, struct st_compute_program *stcp) for (v = *variants; v; ) { struct st_basic_variant *next = v->next; - delete_basic_variant(st, v, stcp->Base.Base.Target); + delete_basic_variant(st, v, stcp->Base.Target); v = next; } @@ -1681,12 +1681,12 @@ st_translate_compute_program(struct st_context *st, if (ureg == NULL) return false; - st_translate_program_common(st, &stcp->Base.Base, stcp->glsl_to_tgsi, ureg, + st_translate_program_common(st, &stcp->Base, stcp->glsl_to_tgsi, ureg, PIPE_SHADER_COMPUTE, &prog); stcp->tgsi.ir_type = PIPE_SHADER_IR_TGSI; stcp->tgsi.prog = prog.tokens; - stcp->tgsi.req_local_mem = stcp->Base.Base.info.cs.shared_size; + stcp->tgsi.req_local_mem = stcp->Base.info.cs.shared_size; stcp->tgsi.req_private_mem = 0; stcp->tgsi.req_input_mem = 0; |