summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2019-11-01 21:49:51 -0400
committerMarek Olšák <[email protected]>2019-11-19 18:02:06 -0500
commit2c8652f98a0b6bba4abfc30069bc0c12a54b9e59 (patch)
tree2bd280103b906549db999e46e827d36d98261cc6 /src/mesa
parent51e214c1db077c497ce66d3ada44d6a46fb8cf25 (diff)
st/mesa: rename delete_basic_variant -> delete_common_variant
Acked-by: Pierre-Eric Pelloux-Prayer <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/state_tracker/st_program.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/state_tracker/st_program.c b/src/mesa/state_tracker/st_program.c
index 2ad19dc8dae..f6a35475286 100644
--- a/src/mesa/state_tracker/st_program.c
+++ b/src/mesa/state_tracker/st_program.c
@@ -319,8 +319,8 @@ st_release_fp_variants(struct st_context *st, struct st_common_program *stfp)
* the variant from the linked list.
*/
static void
-delete_basic_variant(struct st_context *st, struct st_common_variant *v,
- GLenum target)
+delete_common_variant(struct st_context *st, struct st_common_variant *v,
+ GLenum target)
{
if (v->driver_shader) {
if (st->has_shareable_shaders || v->key.st == st) {
@@ -379,7 +379,7 @@ st_release_common_variants(struct st_context *st, struct st_common_program *p)
for (v = p->variants; v; ) {
struct st_common_variant *next = v->next;
- delete_basic_variant(st, v, p->Base.Target);
+ delete_common_variant(st, v, p->Base.Target);
v = next;
}
@@ -1914,7 +1914,7 @@ destroy_program_variants(struct st_context *st, struct gl_program *target)
/* unlink from list */
*prevPtr = next;
/* destroy this variant */
- delete_basic_variant(st, v, target->Target);
+ delete_common_variant(st, v, target->Target);
}
else {
prevPtr = &v->next;