diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs.h | 3 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_fs_exec.c | 3 | ||||
-rw-r--r-- | src/gallium/drivers/softpipe/sp_state_shader.c | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs.h b/src/gallium/drivers/softpipe/sp_fs.h index 5e4f1a1c0b6..4fac9b4aaaf 100644 --- a/src/gallium/drivers/softpipe/sp_fs.h +++ b/src/gallium/drivers/softpipe/sp_fs.h @@ -33,8 +33,7 @@ struct sp_fragment_shader_variant * -softpipe_create_fs_variant_exec(struct softpipe_context *softpipe, - const struct pipe_shader_state *templ); +softpipe_create_fs_variant_exec(struct softpipe_context *softpipe); struct tgsi_interp_coef; diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c index 3188dd14b06..f3814fdc717 100644 --- a/src/gallium/drivers/softpipe/sp_fs_exec.c +++ b/src/gallium/drivers/softpipe/sp_fs_exec.c @@ -189,8 +189,7 @@ exec_delete(struct sp_fragment_shader_variant *var, struct sp_fragment_shader_variant * -softpipe_create_fs_variant_exec(struct softpipe_context *softpipe, - const struct pipe_shader_state *templ) +softpipe_create_fs_variant_exec(struct softpipe_context *softpipe) { struct sp_exec_fragment_shader *shader; diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c index a2960e58720..93c547d2911 100644 --- a/src/gallium/drivers/softpipe/sp_state_shader.c +++ b/src/gallium/drivers/softpipe/sp_state_shader.c @@ -64,7 +64,7 @@ create_fs_variant(struct softpipe_context *softpipe, #endif /* codegen, create variant object */ - var = softpipe_create_fs_variant_exec(softpipe, curfs); + var = softpipe_create_fs_variant_exec(softpipe); if (var) { var->key = *key; |