diff options
author | Marek Olšák <[email protected]> | 2019-09-30 17:06:45 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-10-16 20:10:47 -0400 |
commit | 1cc866c264c516556ae1e9aa68370e811fd898a4 (patch) | |
tree | 534665fa83bb85d97f622d9689ccb793456ac618 /src/mesa/state_tracker/st_context.c | |
parent | 691240cdbee712e56679368de8e6635c3df1208a (diff) |
st/mesa: remove st_compute_program in favor of st_common_program
The conversion from pipe_shader_state to pipe_compute_state is done
at the end.
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r-- | src/mesa/state_tracker/st_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c index 163f996d64c..545d56996fb 100644 --- a/src/mesa/state_tracker/st_context.c +++ b/src/mesa/state_tracker/st_context.c @@ -147,8 +147,8 @@ st_get_active_states(struct gl_context *ctx) st_common_program(ctx->GeometryProgram._Current); struct st_fragment_program *fp = st_fragment_program(ctx->FragmentProgram._Current); - struct st_compute_program *cp = - st_compute_program(ctx->ComputeProgram._Current); + struct st_common_program *cp = + st_common_program(ctx->ComputeProgram._Current); uint64_t active_shader_states = 0; if (vp) |