summaryrefslogtreecommitdiff
path: root/lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2020-01-22 02:13:18 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2020-01-22 02:13:18 +0000
commitfdcc03929065b5bf5dd93553db219ea3e05c8c34 (patch)
treeca90dc8d9e89febdcd4160956c1b8ec098a4efc9 /lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c
parent3c9de4a7e13712b5696750bbd59a18c848742022 (diff)
Import Mesa 19.2.8
Diffstat (limited to 'lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c')
-rw-r--r--lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c b/lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c
index 52366f0f2..a2f00b1d2 100644
--- a/lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c
+++ b/lib/mesa/src/gallium/drivers/svga/svga_pipe_fs.c
@@ -108,7 +108,7 @@ svga_delete_fs_state(struct pipe_context *pipe, void *shader)
svga->state.hw_draw.fs = NULL;
}
- svga_destroy_shader_variant(svga, SVGA3D_SHADERTYPE_PS, variant);
+ svga_destroy_shader_variant(svga, variant);
}
FREE((void *)fs->base.tokens);