summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_context.c
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-11-01 22:38:06 -0400
committerMarek Olšák <[email protected]>2019-11-19 18:02:06 -0500
commit5fed208285e4cbe30a82d57689b9f07545c078d5 (patch)
tree1f9e6cc75ddbf4b4393ea4d76a3f13ce14fd4c48 /src/mesa/state_tracker/st_context.c
parent2e39e8b9723cdc09a447eb0f1e9151f557c75cde (diff)
st/mesa: rename st_common_program to st_program
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_context.c')
-rw-r--r--src/mesa/state_tracker/st_context.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/mesa/state_tracker/st_context.c b/src/mesa/state_tracker/st_context.c
index 4b0abfe9262..d6025d69f61 100644
--- a/src/mesa/state_tracker/st_context.c
+++ b/src/mesa/state_tracker/st_context.c
@@ -137,18 +137,18 @@ st_query_memory_info(struct gl_context *ctx, struct gl_memory_info *out)
static uint64_t
st_get_active_states(struct gl_context *ctx)
{
- struct st_common_program *vp =
- st_common_program(ctx->VertexProgram._Current);
- struct st_common_program *tcp =
- st_common_program(ctx->TessCtrlProgram._Current);
- struct st_common_program *tep =
- st_common_program(ctx->TessEvalProgram._Current);
- struct st_common_program *gp =
- st_common_program(ctx->GeometryProgram._Current);
- struct st_common_program *fp =
- st_common_program(ctx->FragmentProgram._Current);
- struct st_common_program *cp =
- st_common_program(ctx->ComputeProgram._Current);
+ struct st_program *vp =
+ st_program(ctx->VertexProgram._Current);
+ struct st_program *tcp =
+ st_program(ctx->TessCtrlProgram._Current);
+ struct st_program *tep =
+ st_program(ctx->TessEvalProgram._Current);
+ struct st_program *gp =
+ st_program(ctx->GeometryProgram._Current);
+ struct st_program *fp =
+ st_program(ctx->FragmentProgram._Current);
+ struct st_program *cp =
+ st_program(ctx->ComputeProgram._Current);
uint64_t active_shader_states = 0;
if (vp)